home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / fusion / mshardfile1 / System Folder / System / System.rsrc / cmtb_-32508.txt < prev    next >
Text File  |  2000-02-07  |  124KB  |  2,265 lines

  1. start:
  2. 00000000  6002                     bra        +0x4 /* 00000004 */
  3. 00000002  0002 3210                ori.b      D2, 0x10
  4. // begin alternate branch 00000004-00000006
  5. label00000004:
  6. 00000004  3210                     move.w     D1, [A0]
  7. // end alternate branch 00000004-00000006
  8. label00000004: // (misaligned)
  9. 00000006  0241 00FF                andi.w     D1, 0xFF
  10. 0000000A  5341                     subq.w     D1, 1
  11. 0000000C  D241                     add.w      D1, D1
  12. 0000000E  43FA 0008                lea.l      A1, [PC + 0x8 /* 00000018, value 0x52005C 'R\0\\', cstring "" */]
  13. 00000012  D2F1 1000                add.w      A1, [A1 + D1.w]
  14. 00000016  4ED1                     jmp        [A1]
  15. 00000018  0052 005C                ori.w      [A2], 0x5C /* '\\' */
  16. 0000001C  0066 0070                ori.w      -[A6], 0x70 /* 'p' */
  17. 00000020  007E 008C                ori.w      <<invalid special address>>, 0x8C
  18. 00000024  0094 0098 00AE           ori.l      [A4], 0x9800AE
  19. 0000002A  00B2 00C8 00CC 00E2      ori.l      [A2 + D0.w - 0x30], 0xC800CC
  20. 00000032  00EC                     .incomplete
  21. 00000034  014E                     bchg       A6, D0
  22. 00000036  0168 12A8                bchg       [A0 + 0x12A8], D0
  23. 0000003A  0E10 0F98                .invalid.b [A0], 0x98 // invalid immediate operation
  24. 0000003E  0FBE                     bclr       <<invalid special address>>, D7
  25. 00000040  1036 0050                move.b     D0, [A6 + D0.w + 0x50]
  26. 00000044  0050 0050                ori.w      [A0], 0x50 /* 'P' */
  27. 00000048  00FA                     .incomplete
  28. 0000004A  010C                     btst       A4, D0
  29. 0000004C  1204                     move.b     D1, D4
  30. 0000004E  124C                     movea.b    A1, A4
  31. 00000050  0138 0050                btst       [0x00000050], D0
  32. 00000054  105A                     movea.b    A0, [A2]+
  33. 00000056  1120                     move.b     -[A0], -[A0]
  34. 00000058  0182                     bclr       D2, D0
  35. 0000005A  011E                     btst       [A6]+, D0
  36. 0000005C  0190                     bclr       [A0], D0
  37. 0000005E  01A6                     bclr       -[A6], D0
  38. 00000060  01B4 01CA 01E0           bclr       [[ + <<invalid base displacement size>>] + 0x1E0], D0
  39. 00000066  01EE                     .incomplete
  40. 00000068  4E75                     rts
  41. 0000006A  4267                     clr.w      -[A7]
  42. 0000006C  4EBA 02D8                jsr        [PC + 0x2D8 /* 00000346 */]
  43. 00000070  301F                     move.w     D0, [A7]+
  44. 00000072  4E75                     rts
  45. 00000074  42A7                     clr.l      -[A7]
  46. 00000076  4EBA 0394                jsr        [PC + 0x394 /* 0000040C */]
  47. 0000007A  201F                     move.l     D0, [A7]+
  48. 0000007C  4E75                     rts
  49. 0000007E  2F28 0002                move.l     -[A7], [A0 + 0x2]
  50. 00000082  4EBA 0326                jsr        [PC + 0x326 /* 000003AA */]
  51. 00000086  4E75                     rts
  52. 00000088  4267                     clr.w      -[A7]
  53. 0000008A  2F28 0002                move.l     -[A7], [A0 + 0x2]
  54. 0000008E  4EBA 035A                jsr        [PC + 0x35A /* 000003EA */]
  55. 00000092  301F                     move.w     D0, [A7]+
  56. 00000094  4E75                     rts
  57. 00000096  42A7                     clr.l      -[A7]
  58. 00000098  2F28 0002                move.l     -[A7], [A0 + 0x2]
  59. 0000009C  4EBA 0380                jsr        [PC + 0x380 /* 0000041E */]
  60. 000000A0  201F                     move.l     D0, [A7]+
  61. 000000A2  4E75                     rts
  62. 000000A4  41FA FF5C                lea.l      A0, [PC - 0xA4 /* 00000002, value 0x23210, cstring "" */]
  63. 000000A8  3010                     move.w     D0, [A0]
  64. 000000AA  4E75                     rts
  65. 000000AC  7000                     moveq.l    D0, 0x00
  66. 000000AE  6002                     bra        +0x4 /* 000000B2 */
  67. 000000B0  7001                     moveq.l    D0, 0x01
  68. label000000B2:
  69. 000000B2  42A7                     clr.l      -[A7]
  70. 000000B4  2F28 0004                move.l     -[A7], [A0 + 0x4]
  71. 000000B8  3F28 0002                move.w     -[A7], [A0 + 0x2]
  72. 000000BC  3F00                     move.w     -[A7], D0
  73. 000000BE  4EBA 042C                jsr        [PC + 0x42C /* 000004EC */]
  74. 000000C2  201F                     move.l     D0, [A7]+
  75. 000000C4  4E75                     rts
  76. 000000C6  7000                     moveq.l    D0, 0x00
  77. 000000C8  6002                     bra        +0x4 /* 000000CC */
  78. 000000CA  7001                     moveq.l    D0, 0x01
  79. label000000CC:
  80. 000000CC  42A7                     clr.l      -[A7]
  81. 000000CE  2F28 0004                move.l     -[A7], [A0 + 0x4]
  82. 000000D2  3F28 0002                move.w     -[A7], [A0 + 0x2]
  83. 000000D6  3F00                     move.w     -[A7], D0
  84. 000000D8  4EBA 0460                jsr        [PC + 0x460 /* 0000053A */]
  85. 000000DC  201F                     move.l     D0, [A7]+
  86. 000000DE  4E75                     rts
  87. 000000E0  7000                     moveq.l    D0, 0x00
  88. 000000E2  6002                     bra        +0x4 /* 000000E6 */
  89. 000000E4  7001                     moveq.l    D0, 0x01
  90. label000000E6:
  91. 000000E6  42A7                     clr.l      -[A7]
  92. 000000E8  2F28 0006                move.l     -[A7], [A0 + 0x6]
  93. 000000EC  2F28 0002                move.l     -[A7], [A0 + 0x2]
  94. 000000F0  3F00                     move.w     -[A7], D0
  95. 000000F2  4EBA 0494                jsr        [PC + 0x494 /* 00000588 */]
  96. 000000F6  201F                     move.l     D0, [A7]+
  97. 000000F8  4E75                     rts
  98. 000000FA  2F28 0002                move.l     -[A7], [A0 + 0x2]
  99. 000000FE  4EBA 04D8                jsr        [PC + 0x4D8 /* 000005D8 */]
  100. 00000102  4E75                     rts
  101. 00000104  42A7                     clr.l      -[A7]
  102. 00000106  2F28 0002                move.l     -[A7], [A0 + 0x2]
  103. 0000010A  4EBA 03A2                jsr        [PC + 0x3A2 /* 000004AE */]
  104. 0000010E  201F                     move.l     D0, [A7]+
  105. 00000110  4E75                     rts
  106. 00000112  4267                     clr.w      -[A7]
  107. 00000114  2F28 0006                move.l     -[A7], [A0 + 0x6]
  108. 00000118  2F28 0002                move.l     -[A7], [A0 + 0x2]
  109. 0000011C  4EBA 0260                jsr        [PC + 0x260 /* 0000037E */]
  110. 00000120  301F                     move.w     D0, [A7]+
  111. 00000122  4E75                     rts
  112. 00000124  4267                     clr.w      -[A7]
  113. 00000126  2F28 0006                move.l     -[A7], [A0 + 0x6]
  114. 0000012A  2F28 0002                move.l     -[A7], [A0 + 0x2]
  115. 0000012E  4EBA 0222                jsr        [PC + 0x222 /* 00000352 */]
  116. 00000132  301F                     move.w     D0, [A7]+
  117. 00000134  4E75                     rts
  118. 00000136  4227                     clr.b      -[A7]
  119. 00000138  2F28 000C                move.l     -[A7], [A0 + 0xC]
  120. 0000013C  2F28 0008                move.l     -[A7], [A0 + 0x8]
  121. 00000140  3F28 0006                move.w     -[A7], [A0 + 0x6]
  122. 00000144  2F28 0002                move.l     -[A7], [A0 + 0x2]
  123. 00000148  4EBA 09BA                jsr        [PC + 0x9BA /* 00000B04 */]
  124. 0000014C  101F                     move.b     D0, [A7]+
  125. 0000014E  4E75                     rts
  126. 00000150  4267                     clr.w      -[A7]
  127. 00000152  3F28 000A                move.w     -[A7], [A0 + 0xA]
  128. 00000156  2F28 0006                move.l     -[A7], [A0 + 0x6]
  129. 0000015A  2F28 0002                move.l     -[A7], [A0 + 0x2]
  130. 0000015E  4EBA 0A10                jsr        [PC + 0xA10 /* 00000B70 */]
  131. 00000162  301F                     move.w     D0, [A7]+
  132. 00000164  4E75                     rts
  133. 00000166  4267                     clr.w      -[A7]
  134. 00000168  2F28 000A                move.l     -[A7], [A0 + 0xA]
  135. 0000016C  3F28 0008                move.w     -[A7], [A0 + 0x8]
  136. 00000170  2F28 0004                move.l     -[A7], [A0 + 0x4]
  137. 00000174  3F28 0002                move.w     -[A7], [A0 + 0x2]
  138. 00000178  4EBA 0B1E                jsr        [PC + 0xB1E /* 00000C98 */]
  139. 0000017C  301F                     move.w     D0, [A7]+
  140. 0000017E  4E75                     rts
  141. 00000180  4267                     clr.w      -[A7]
  142. 00000182  2F28 000A                move.l     -[A7], [A0 + 0xA]
  143. 00000186  3F28 0008                move.w     -[A7], [A0 + 0x8]
  144. 0000018A  2F28 0004                move.l     -[A7], [A0 + 0x4]
  145. 0000018E  3F28 0002                move.w     -[A7], [A0 + 0x2]
  146. 00000192  4EBA 0B30                jsr        [PC + 0xB30 /* 00000CC4 */]
  147. 00000196  301F                     move.w     D0, [A7]+
  148. 00000198  4E75                     rts
  149. 0000019A  4227                     clr.b      -[A7]
  150. 0000019C  2F28 0002                move.l     -[A7], [A0 + 0x2]
  151. 000001A0  4EBA 0B4C                jsr        [PC + 0xB4C /* 00000CEE */]
  152. 000001A4  101F                     move.b     D0, [A7]+
  153. 000001A6  4E75                     rts
  154. 000001A8  42A7                     clr.l      -[A7]
  155. 000001AA  3F28 0008                move.w     -[A7], [A0 + 0x8]
  156. 000001AE  2F28 0004                move.l     -[A7], [A0 + 0x4]
  157. 000001B2  3F28 0002                move.w     -[A7], [A0 + 0x2]
  158. 000001B6  4EBA 005C                jsr        [PC + 0x5C /* 00000214 */]
  159. 000001BA  201F                     move.l     D0, [A7]+
  160. 000001BC  4E75                     rts
  161. 000001BE  3F28 0006                move.w     -[A7], [A0 + 0x6]
  162. 000001C2  2F28 0002                move.l     -[A7], [A0 + 0x2]
  163. 000001C6  4EBA 00EA                jsr        [PC + 0xEA /* 000002B2 */]
  164. 000001CA  4E75                     rts
  165. 000001CC  4267                     clr.w      -[A7]
  166. 000001CE  2F28 000A                move.l     -[A7], [A0 + 0xA]
  167. 000001D2  2F28 0006                move.l     -[A7], [A0 + 0x6]
  168. 000001D6  2F28 0002                move.l     -[A7], [A0 + 0x2]
  169. 000001DA  4EBA 0118                jsr        [PC + 0x118 /* 000002F4 */]
  170. 000001DE  301F                     move.w     D0, [A7]+
  171. 000001E0  4E75                     rts
  172. 000001E2  42A7                     clr.l      -[A7]
  173. 000001E4  3F28 000A                move.w     -[A7], [A0 + 0xA]
  174. 000001E8  2F28 0006                move.l     -[A7], [A0 + 0x6]
  175. 000001EC  2F28 0002                move.l     -[A7], [A0 + 0x2]
  176. 000001F0  4EBA 0070                jsr        [PC + 0x70 /* 00000262 */]
  177. 000001F4  201F                     move.l     D0, [A7]+
  178. 000001F6  4E75                     rts
  179. 000001F8  42A7                     clr.l      -[A7]
  180. 000001FA  3F28 0002                move.w     -[A7], [A0 + 0x2]
  181. 000001FE  4EBA 063C                jsr        [PC + 0x63C /* 0000083C */]
  182. 00000202  201F                     move.l     D0, [A7]+
  183. 00000204  4E75                     rts
  184. 00000206  42A7                     clr.l      -[A7]
  185. 00000208  3F28 0002                move.w     -[A7], [A0 + 0x2]
  186. 0000020C  4EBA 057E                jsr        [PC + 0x57E /* 0000078C */]
  187. 00000210  201F                     move.l     D0, [A7]+
  188. 00000212  4E75                     rts
  189. fn00000214:
  190. 00000214  4E56 FFF6                link       A6, -0x000A
  191. 00000218  48E7 0308                movem.l    -[A7], D6,D7,A4
  192. 0000021C  3E2E 000E                move.w     D7, [A6 + 0xE]
  193. 00000220  558F                     subq.l     A7, 2
  194. 00000222  A994                     syscall    CurResFile
  195. 00000224  3C1F                     move.w     D6, [A7]+
  196. 00000226  3F07                     move.w     -[A7], D7
  197. 00000228  486E FFF6                pea.l      [A6 - 0xA]
  198. 0000022C  4EBA 147E                jsr        [PC + 0x147E /* 000016AC */]
  199. 00000230  3F07                     move.w     -[A7], D7
  200. 00000232  A998                     syscall    UseResFile
  201. 00000234  598F                     subq.l     A7, 4
  202. 00000236  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  203. 0000023A  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  204. 0000023E  4EBA 13EE                jsr        [PC + 0x13EE /* 0000162E */]
  205. 00000242  285F                     movea.l    A4, [A7]+
  206. 00000244  486E FFF6                pea.l      [A6 - 0xA]
  207. 00000248  4EBA 1474                jsr        [PC + 0x1474 /* 000016BE */]
  208. 0000024C  3F06                     move.w     -[A7], D6
  209. 0000024E  A998                     syscall    UseResFile
  210. 00000250  2D4C 0010                move.l     [A6 + 0x10], A4
  211. 00000254  4CEE 10C0 FFEA           movem.l    D6,D7,A4, [A6 - 0x16]
  212. 0000025A  4E5E                     unlink     A6
  213. 0000025C  205F                     movea.l    A0, [A7]+
  214. 0000025E  504F                     addq.w     A7, 8
  215. 00000260  4ED0                     jmp        [A0]
  216. fn00000262:
  217. 00000262  4E56 FFF6                link       A6, -0x000A
  218. 00000266  48E7 0308                movem.l    -[A7], D6,D7,A4
  219. 0000026A  3E2E 0010                move.w     D7, [A6 + 0x10]
  220. 0000026E  558F                     subq.l     A7, 2
  221. 00000270  A994                     syscall    CurResFile
  222. 00000272  3C1F                     move.w     D6, [A7]+
  223. 00000274  3F07                     move.w     -[A7], D7
  224. 00000276  486E FFF6                pea.l      [A6 - 0xA]
  225. 0000027A  4EBA 1430                jsr        [PC + 0x1430 /* 000016AC */]
  226. 0000027E  3F07                     move.w     -[A7], D7
  227. 00000280  A998                     syscall    UseResFile
  228. 00000282  598F                     subq.l     A7, 4
  229. 00000284  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  230. 00000288  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  231. 0000028C  4EBA 13B4                jsr        [PC + 0x13B4 /* 00001642 */]
  232. 00000290  285F                     movea.l    A4, [A7]+
  233. 00000292  486E FFF6                pea.l      [A6 - 0xA]
  234. 00000296  4EBA 1426                jsr        [PC + 0x1426 /* 000016BE */]
  235. 0000029A  3F06                     move.w     -[A7], D6
  236. 0000029C  A998                     syscall    UseResFile
  237. 0000029E  2D4C 0012                move.l     [A6 + 0x12], A4
  238. 000002A2  4CEE 10C0 FFEA           movem.l    D6,D7,A4, [A6 - 0x16]
  239. 000002A8  4E5E                     unlink     A6
  240. 000002AA  205F                     movea.l    A0, [A7]+
  241. 000002AC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  242. 000002B0  4ED0                     jmp        [A0]
  243. fn000002B2:
  244. 000002B2  4E56 FFF6                link       A6, -0x000A
  245. 000002B6  48E7 0300                movem.l    -[A7], D6,D7
  246. 000002BA  3E2E 000C                move.w     D7, [A6 + 0xC]
  247. 000002BE  558F                     subq.l     A7, 2
  248. 000002C0  A994                     syscall    CurResFile
  249. 000002C2  3C1F                     move.w     D6, [A7]+
  250. 000002C4  3F07                     move.w     -[A7], D7
  251. 000002C6  486E FFF6                pea.l      [A6 - 0xA]
  252. 000002CA  4EBA 13E0                jsr        [PC + 0x13E0 /* 000016AC */]
  253. 000002CE  3F07                     move.w     -[A7], D7
  254. 000002D0  A998                     syscall    UseResFile
  255. 000002D2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  256. 000002D6  4EBA 1380                jsr        [PC + 0x1380 /* 00001658 */]
  257. 000002DA  486E FFF6                pea.l      [A6 - 0xA]
  258. 000002DE  4EBA 13DE                jsr        [PC + 0x13DE /* 000016BE */]
  259. 000002E2  3F06                     move.w     -[A7], D6
  260. 000002E4  A998                     syscall    UseResFile
  261. 000002E6  4CEE 00C0 FFEE           movem.l    D6,D7, [A6 - 0x12]
  262. 000002EC  4E5E                     unlink     A6
  263. 000002EE  205F                     movea.l    A0, [A7]+
  264. 000002F0  5C4F                     addq.w     A7, 6
  265. 000002F2  4ED0                     jmp        [A0]
  266. fn000002F4:
  267. 000002F4  4E56 0000                link       A6, 0
  268. 000002F8  48E7 0C38                movem.l    -[A7], D4,D5,A2,A3,A4
  269. 000002FC  246E 0010                movea.l    A2, [A6 + 0x10]
  270. 00000300  2A2E 000C                move.l     D5, [A6 + 0xC]
  271. 00000304  266E 0008                movea.l    A3, [A6 + 0x8]
  272. 00000308  78FF                     moveq.l    D4, 0xFFFFFFFF
  273. 0000030A  2052                     movea.l    A0, [A2]
  274. 0000030C  3410                     move.w     D2, [A0]
  275. 0000030E  2848                     movea.l    A4, A0
  276. 00000310  544C                     addq.w     A4, 2
  277. 00000312  7000                     moveq.l    D0, 0x00
  278. 00000314  2680                     move.l     [A3], D0
  279. 00000316  4241                     clr.w      D1
  280. 00000318  6014                     bra        +0x16 /* 0000032E */
  281. label0000031A:
  282. 0000031A  BA94                     cmp.l      D5, [A4]
  283. 0000031C  660A                     bne        +0xC /* 00000328 */
  284. 0000031E  26AC 0004                move.l     [A3], [A4 + 0x4]
  285. 00000322  426E 0014                clr.w      [A6 + 0x14]
  286. 00000326  600E                     bra        +0x10 /* 00000336 */
  287. label00000328:
  288. 00000328  3001                     move.w     D0, D1
  289. 0000032A  5241                     addq.w     D1, 1
  290. 0000032C  504C                     addq.w     A4, 8
  291. label0000032E:
  292. 0000032E  B441                     cmp.w      D2, D1
  293. 00000330  6EE8                     bgt        -0x16 /* 0000031A */
  294. 00000332  3D44 0014                move.w     [A6 + 0x14], D4
  295. label00000336:
  296. 00000336  4CEE 1C30 FFEC           movem.l    D4,D5,A2,A3,A4, [A6 - 0x14]
  297. 0000033C  4E5E                     unlink     A6
  298. 0000033E  205F                     movea.l    A0, [A7]+
  299. 00000340  4FEF 000C                lea.l      A7, [A7 + 0xC]
  300. 00000344  4ED0                     jmp        [A0]
  301. fn00000346:
  302. 00000346  4E56 0000                link       A6, 0
  303. 0000034A  426E 0008                clr.w      [A6 + 0x8]
  304. 0000034E  4E5E                     unlink     A6
  305. 00000350  4E75                     rts
  306. fn00000352:
  307. 00000352  4E56 0000                link       A6, 0
  308. 00000356  558F                     subq.l     A7, 2
  309. 00000358  3F3C 8000                move.w     -[A7], 0x8000
  310. 0000035C  2F3C 6578 746E           move.l     -[A7], 0x6578746E /* 'extn' */
  311. 00000362  7001                     moveq.l    D0, 0x01
  312. 00000364  1F00                     move.b     -[A7], D0
  313. 00000366  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  314. 0000036A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  315. 0000036E  7000                     moveq.l    D0, 0x00
  316. 00000370  A823                     syscall    AliasDispatch
  317. 00000372  3D5F 0010                move.w     [A6 + 0x10], [A7]+
  318. 00000376  4E5E                     unlink     A6
  319. 00000378  205F                     movea.l    A0, [A7]+
  320. 0000037A  504F                     addq.w     A7, 8
  321. 0000037C  4ED0                     jmp        [A0]
  322. fn0000037E:
  323. 0000037E  4E56 0000                link       A6, 0
  324. 00000382  558F                     subq.l     A7, 2
  325. 00000384  3F3C 8000                move.w     -[A7], 0x8000
  326. 00000388  2F3C 6578 746E           move.l     -[A7], 0x6578746E /* 'extn' */
  327. 0000038E  7001                     moveq.l    D0, 0x01
  328. 00000390  1F00                     move.b     -[A7], D0
  329. 00000392  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  330. 00000396  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  331. 0000039A  7000                     moveq.l    D0, 0x00
  332. 0000039C  A823                     syscall    AliasDispatch
  333. 0000039E  3D5F 0010                move.w     [A6 + 0x10], [A7]+
  334. 000003A2  4E5E                     unlink     A6
  335. 000003A4  205F                     movea.l    A0, [A7]+
  336. 000003A6  504F                     addq.w     A7, 8
  337. 000003A8  4ED0                     jmp        [A0]
  338. fn000003AA:
  339. 000003AA  4E56 0000                link       A6, 0
  340. 000003AE  48E7 0038                movem.l    -[A7], A2,A3,A4
  341. 000003B2  266E 0008                movea.l    A3, [A6 + 0x8]
  342. 000003B6  284B                     movea.l    A4, A3
  343. 000003B8  397C 0009 0004           move.w     [A4 + 0x4], 0x9 /* '\t' */
  344. 000003BE  397C 0001 0006           move.w     [A4 + 0x6], 0x1
  345. 000003C4  598F                     subq.l     A7, 4
  346. 000003C6  2F2C 000E                move.l     -[A7], [A4 + 0xE]
  347. 000003CA  4EBA 00A0                jsr        [PC + 0xA0 /* 0000046C */]
  348. 000003CE  295F 0012                move.l     [A4 + 0x12], [A7]+
  349. 000003D2  204B                     movea.l    A0, A3
  350. 000003D4  2478 0BB4                movea.l    A2, [0x00000BB4 /* CommToolboxGlob */]
  351. 000003D8  226A 0002                movea.l    A1, [A2 + 0x2]
  352. 000003DC  A96F                     syscall    Enqueue
  353. 000003DE  4CEE 1C00 FFF4           movem.l    A2,A3,A4, [A6 - 0xC]
  354. 000003E4  4E5E                     unlink     A6
  355. 000003E6  2E9F                     move.l     [A7], [A7]+
  356. 000003E8  4E75                     rts
  357. fn000003EA:
  358. 000003EA  4E56 0000                link       A6, 0
  359. 000003EE  2F0A                     move.l     -[A7], A2
  360. 000003F0  206E 0008                movea.l    A0, [A6 + 0x8]
  361. 000003F4  2478 0BB4                movea.l    A2, [0x00000BB4 /* CommToolboxGlob */]
  362. 000003F8  226A 0002                movea.l    A1, [A2 + 0x2]
  363. 000003FC  A96E                     syscall    Dequeue
  364. 000003FE  3D40 000C                move.w     [A6 + 0xC], D0
  365. 00000402  246E FFFC                movea.l    A2, [A6 - 0x4]
  366. 00000406  4E5E                     unlink     A6
  367. 00000408  2E9F                     move.l     [A7], [A7]+
  368. 0000040A  4E75                     rts
  369. fn0000040C:
  370. 0000040C  4E56 0000                link       A6, 0
  371. 00000410  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  372. 00000414  2D68 0002 0008           move.l     [A6 + 0x8], [A0 + 0x2]
  373. 0000041A  4E5E                     unlink     A6
  374. 0000041C  4E75                     rts
  375. fn0000041E:
  376. 0000041E  4E56 0000                link       A6, 0
  377. 00000422  48E7 1018                movem.l    -[A7], D3,A3,A4
  378. 00000426  266E 0008                movea.l    A3, [A6 + 0x8]
  379. 0000042A  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  380. 0000042E  2068 0002                movea.l    A0, [A0 + 0x2]
  381. 00000432  2868 0002                movea.l    A4, [A0 + 0x2]
  382. 00000436  7600                     moveq.l    D3, 0x00
  383. 00000438  601C                     bra        +0x1E /* 00000456 */
  384. label0000043A:
  385. 0000043A  202C 000E                move.l     D0, [A4 + 0xE]
  386. 0000043E  B0AB 000E                cmp.l      D0, [A3 + 0xE]
  387. 00000442  6610                     bne        +0x12 /* 00000454 */
  388. 00000444  202C 0012                move.l     D0, [A4 + 0x12]
  389. 00000448  B0AB 0012                cmp.l      D0, [A3 + 0x12]
  390. 0000044C  6F06                     ble        +0x8 /* 00000454 */
  391. 0000044E  2D4C 000C                move.l     [A6 + 0xC], A4
  392. 00000452  600C                     bra        +0xE /* 00000460 */
  393. label00000454:
  394. 00000454  2854                     movea.l    A4, [A4]
  395. label00000456:
  396. 00000456  B68C                     cmp.l      D3, A4
  397. 00000458  66E0                     bne        -0x1E /* 0000043A */
  398. 0000045A  7000                     moveq.l    D0, 0x00
  399. 0000045C  2D40 000C                move.l     [A6 + 0xC], D0
  400. label00000460:
  401. 00000460  4CEE 1808 FFF4           movem.l    D3,A3,A4, [A6 - 0xC]
  402. 00000466  4E5E                     unlink     A6
  403. 00000468  2E9F                     move.l     [A7], [A7]+
  404. 0000046A  4E75                     rts
  405. fn0000046C:
  406. 0000046C  4E56 0000                link       A6, 0
  407. 00000470  2F0C                     move.l     -[A7], A4
  408. 00000472  242E 0008                move.l     D2, [A6 + 0x8]
  409. 00000476  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  410. 0000047A  2068 0002                movea.l    A0, [A0 + 0x2]
  411. 0000047E  2868 0002                movea.l    A4, [A0 + 0x2]
  412. 00000482  7200                     moveq.l    D1, 0x00
  413. 00000484  7000                     moveq.l    D0, 0x00
  414. 00000486  6012                     bra        +0x14 /* 0000049A */
  415. label00000488:
  416. 00000488  B4AC 000E                cmp.l      D2, [A4 + 0xE]
  417. 0000048C  660A                     bne        +0xC /* 00000498 */
  418. 0000048E  B2AC 0012                cmp.l      D1, [A4 + 0x12]
  419. 00000492  6C04                     bge        +0x6 /* 00000498 */
  420. 00000494  222C 0012                move.l     D1, [A4 + 0x12]
  421. label00000498:
  422. 00000498  2854                     movea.l    A4, [A4]
  423. label0000049A:
  424. 0000049A  B08C                     cmp.l      D0, A4
  425. 0000049C  66EA                     bne        -0x14 /* 00000488 */
  426. 0000049E  5281                     addq.l     D1, 1
  427. 000004A0  2D41 000C                move.l     [A6 + 0xC], D1
  428. 000004A4  286E FFFC                movea.l    A4, [A6 - 0x4]
  429. 000004A8  4E5E                     unlink     A6
  430. 000004AA  2E9F                     move.l     [A7], [A7]+
  431. 000004AC  4E75                     rts
  432. fn000004AE:
  433. 000004AE  4E56 0000                link       A6, 0
  434. 000004B2  48E7 0108                movem.l    -[A7], D7,A4
  435. 000004B6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  436. 000004BA  4EBA 0160                jsr        [PC + 0x160 /* 0000061C */]
  437. 000004BE  2840                     movea.l    A4, D0
  438. 000004C0  7E00                     moveq.l    D7, 0x00
  439. 000004C2  200C                     move.l     D0, A4
  440. 000004C4  584F                     addq.w     A7, 4
  441. 000004C6  6714                     beq        +0x16 /* 000004DC */
  442. 000004C8  4AAC 0008                tst.l      [A4 + 0x8]
  443. 000004CC  6E0A                     bgt        +0xC /* 000004D8 */
  444. 000004CE  2F0C                     move.l     -[A7], A4
  445. 000004D0  4EBA 01B4                jsr        [PC + 0x1B4 /* 00000686 */]
  446. 000004D4  584F                     addq.w     A7, 4
  447. 000004D6  6004                     bra        +0x6 /* 000004DC */
  448. label000004D8:
  449. 000004D8  2E2C 0008                move.l     D7, [A4 + 0x8]
  450. label000004DC:
  451. 000004DC  2D47 000C                move.l     [A6 + 0xC], D7
  452. 000004E0  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  453. 000004E6  4E5E                     unlink     A6
  454. 000004E8  2E9F                     move.l     [A7], [A7]+
  455. 000004EA  4E75                     rts
  456. fn000004EC:
  457. 000004EC  4E56 0000                link       A6, 0
  458. 000004F0  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  459. 000004F4  3C2E 000A                move.w     D6, [A6 + 0xA]
  460. 000004F8  2E2E 000C                move.l     D7, [A6 + 0xC]
  461. 000004FC  7001                     moveq.l    D0, 0x01
  462. 000004FE  B06E 0008                cmp.w      D0, [A6 + 0x8]
  463. 00000502  57C3                     seq        D3
  464. 00000504  4403                     neg.b      D3
  465. 00000506  670C                     beq        +0xE /* 00000514 */
  466. 00000508  598F                     subq.l     A7, 4
  467. 0000050A  2F07                     move.l     -[A7], D7
  468. 0000050C  3F06                     move.w     -[A7], D6
  469. 0000050E  A81F                     syscall    Get1Resource
  470. 00000510  201F                     move.l     D0, [A7]+
  471. 00000512  600A                     bra        +0xC /* 0000051E */
  472. label00000514:
  473. 00000514  598F                     subq.l     A7, 4
  474. 00000516  2F07                     move.l     -[A7], D7
  475. 00000518  3F06                     move.w     -[A7], D6
  476. 0000051A  A9A0                     syscall    GetResource
  477. 0000051C  201F                     move.l     D0, [A7]+
  478. label0000051E:
  479. 0000051E  2840                     movea.l    A4, D0
  480. 00000520  2F0C                     move.l     -[A7], A4
  481. 00000522  4EBA 01A8                jsr        [PC + 0x1A8 /* 000006CC */]
  482. 00000526  2D4C 0010                move.l     [A6 + 0x10], A4
  483. 0000052A  584F                     addq.w     A7, 4
  484. 0000052C  4CEE 10C8 FFF0           movem.l    D3,D6,D7,A4, [A6 - 0x10]
  485. 00000532  4E5E                     unlink     A6
  486. 00000534  205F                     movea.l    A0, [A7]+
  487. 00000536  504F                     addq.w     A7, 8
  488. 00000538  4ED0                     jmp        [A0]
  489. fn0000053A:
  490. 0000053A  4E56 0000                link       A6, 0
  491. 0000053E  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  492. 00000542  3C2E 000A                move.w     D6, [A6 + 0xA]
  493. 00000546  2E2E 000C                move.l     D7, [A6 + 0xC]
  494. 0000054A  7001                     moveq.l    D0, 0x01
  495. 0000054C  B06E 0008                cmp.w      D0, [A6 + 0x8]
  496. 00000550  57C3                     seq        D3
  497. 00000552  4403                     neg.b      D3
  498. 00000554  670C                     beq        +0xE /* 00000562 */
  499. 00000556  598F                     subq.l     A7, 4
  500. 00000558  2F07                     move.l     -[A7], D7
  501. 0000055A  3F06                     move.w     -[A7], D6
  502. 0000055C  A80E                     syscall    Get1IndResource/Get1IxResource
  503. 0000055E  201F                     move.l     D0, [A7]+
  504. 00000560  600A                     bra        +0xC /* 0000056C */
  505. label00000562:
  506. 00000562  598F                     subq.l     A7, 4
  507. 00000564  2F07                     move.l     -[A7], D7
  508. 00000566  3F06                     move.w     -[A7], D6
  509. 00000568  A99D                     syscall    GetIndResource
  510. 0000056A  201F                     move.l     D0, [A7]+
  511. label0000056C:
  512. 0000056C  2840                     movea.l    A4, D0
  513. 0000056E  2F0C                     move.l     -[A7], A4
  514. 00000570  4EBA 015A                jsr        [PC + 0x15A /* 000006CC */]
  515. 00000574  2D4C 0010                move.l     [A6 + 0x10], A4
  516. 00000578  584F                     addq.w     A7, 4
  517. 0000057A  4CEE 10C8 FFF0           movem.l    D3,D6,D7,A4, [A6 - 0x10]
  518. 00000580  4E5E                     unlink     A6
  519. 00000582  205F                     movea.l    A0, [A7]+
  520. 00000584  504F                     addq.w     A7, 8
  521. 00000586  4ED0                     jmp        [A0]
  522. fn00000588:
  523. 00000588  4E56 0000                link       A6, 0
  524. 0000058C  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  525. 00000590  266E 000A                movea.l    A3, [A6 + 0xA]
  526. 00000594  2E2E 000E                move.l     D7, [A6 + 0xE]
  527. 00000598  7001                     moveq.l    D0, 0x01
  528. 0000059A  B06E 0008                cmp.w      D0, [A6 + 0x8]
  529. 0000059E  57C3                     seq        D3
  530. 000005A0  4403                     neg.b      D3
  531. 000005A2  670C                     beq        +0xE /* 000005B0 */
  532. 000005A4  598F                     subq.l     A7, 4
  533. 000005A6  2F07                     move.l     -[A7], D7
  534. 000005A8  2F0B                     move.l     -[A7], A3
  535. 000005AA  A820                     syscall    Get1NamedResource
  536. 000005AC  201F                     move.l     D0, [A7]+
  537. 000005AE  600A                     bra        +0xC /* 000005BA */
  538. label000005B0:
  539. 000005B0  598F                     subq.l     A7, 4
  540. 000005B2  2F07                     move.l     -[A7], D7
  541. 000005B4  2F0B                     move.l     -[A7], A3
  542. 000005B6  A9A1                     syscall    GetNamedResource
  543. 000005B8  201F                     move.l     D0, [A7]+
  544. label000005BA:
  545. 000005BA  2840                     movea.l    A4, D0
  546. 000005BC  2F0C                     move.l     -[A7], A4
  547. 000005BE  4EBA 010C                jsr        [PC + 0x10C /* 000006CC */]
  548. 000005C2  2D4C 0012                move.l     [A6 + 0x12], A4
  549. 000005C6  584F                     addq.w     A7, 4
  550. 000005C8  4CEE 1888 FFF0           movem.l    D3,D7,A3,A4, [A6 - 0x10]
  551. 000005CE  4E5E                     unlink     A6
  552. 000005D0  205F                     movea.l    A0, [A7]+
  553. 000005D2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  554. 000005D6  4ED0                     jmp        [A0]
  555. fn000005D8:
  556. 000005D8  4E56 0000                link       A6, 0
  557. 000005DC  48E7 0018                movem.l    -[A7], A3,A4
  558. 000005E0  266E 0008                movea.l    A3, [A6 + 0x8]
  559. 000005E4  2F0B                     move.l     -[A7], A3
  560. 000005E6  4EBA 0034                jsr        [PC + 0x34 /* 0000061C */]
  561. 000005EA  2840                     movea.l    A4, D0
  562. 000005EC  200C                     move.l     D0, A4
  563. 000005EE  584F                     addq.w     A7, 4
  564. 000005F0  6716                     beq        +0x18 /* 00000608 */
  565. 000005F2  53AC 0008                subq.l     [A4 + 0x8], 1
  566. 000005F6  4AAC 0008                tst.l      [A4 + 0x8]
  567. 000005FA  6E0C                     bgt        +0xE /* 00000608 */
  568. 000005FC  2F0C                     move.l     -[A7], A4
  569. 000005FE  4EBA 0086                jsr        [PC + 0x86 /* 00000686 */]
  570. 00000602  7000                     moveq.l    D0, 0x00
  571. 00000604  2840                     movea.l    A4, D0
  572. 00000606  584F                     addq.w     A7, 4
  573. label00000608:
  574. 00000608  200C                     move.l     D0, A4
  575. 0000060A  6604                     bne        +0x6 /* 00000610 */
  576. 0000060C  2F0B                     move.l     -[A7], A3
  577. 0000060E  A9A3                     syscall    ReleaseResource
  578. label00000610:
  579. 00000610  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  580. 00000616  4E5E                     unlink     A6
  581. 00000618  2E9F                     move.l     [A7], [A7]+
  582. 0000061A  4E75                     rts
  583. fn0000061C:
  584. 0000061C  4E56 0000                link       A6, 0
  585. 00000620  48E7 1018                movem.l    -[A7], D3,A3,A4
  586. 00000624  266E 0008                movea.l    A3, [A6 + 0x8]
  587. 00000628  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  588. 0000062C  2868 0006                movea.l    A4, [A0 + 0x6]
  589. 00000630  7600                     moveq.l    D3, 0x00
  590. 00000632  600C                     bra        +0xE /* 00000640 */
  591. label00000634:
  592. 00000634  B7EC 0004                cmpa.l     A3, [A4 + 0x4]
  593. 00000638  6604                     bne        +0x6 /* 0000063E */
  594. 0000063A  200C                     move.l     D0, A4
  595. 0000063C  6008                     bra        +0xA /* 00000646 */
  596. label0000063E:
  597. 0000063E  2854                     movea.l    A4, [A4]
  598. label00000640:
  599. 00000640  B68C                     cmp.l      D3, A4
  600. 00000642  66F0                     bne        -0xE /* 00000634 */
  601. 00000644  7000                     moveq.l    D0, 0x00
  602. label00000646:
  603. 00000646  4CEE 1808 FFF4           movem.l    D3,A3,A4, [A6 - 0xC]
  604. 0000064C  4E5E                     unlink     A6
  605. 0000064E  4E75                     rts
  606. fn00000650:
  607. 00000650  4E56 0000                link       A6, 0
  608. 00000654  2F0C                     move.l     -[A7], A4
  609. 00000656  700E                     moveq.l    D0, 0x0E
  610. 00000658  A51E                     syscall    NewPtrSys, flags=5
  611. 0000065A  2848                     movea.l    A4, A0
  612. 0000065C  200C                     move.l     D0, A4
  613. 0000065E  671C                     beq        +0x1E /* 0000067C */
  614. 00000660  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  615. 00000664  28A8 0006                move.l     [A4], [A0 + 0x6]
  616. 00000668  7000                     moveq.l    D0, 0x00
  617. 0000066A  2940 0008                move.l     [A4 + 0x8], D0
  618. 0000066E  296E 0008 0004           move.l     [A4 + 0x4], [A6 + 0x8]
  619. 00000674  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  620. 00000678  214C 0006                move.l     [A0 + 0x6], A4
  621. label0000067C:
  622. 0000067C  200C                     move.l     D0, A4
  623. 0000067E  286E FFFC                movea.l    A4, [A6 - 0x4]
  624. 00000682  4E5E                     unlink     A6
  625. 00000684  4E75                     rts
  626. fn00000686:
  627. 00000686  4E56 0000                link       A6, 0
  628. 0000068A  48E7 0018                movem.l    -[A7], A3,A4
  629. 0000068E  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  630. 00000692  2868 0006                movea.l    A4, [A0 + 0x6]
  631. 00000696  7000                     moveq.l    D0, 0x00
  632. 00000698  2640                     movea.l    A3, D0
  633. 0000069A  6004                     bra        +0x6 /* 000006A0 */
  634. label0000069C:
  635. 0000069C  264C                     movea.l    A3, A4
  636. 0000069E  2854                     movea.l    A4, [A4]
  637. label000006A0:
  638. 000006A0  200C                     move.l     D0, A4
  639. 000006A2  6706                     beq        +0x8 /* 000006AA */
  640. 000006A4  B9EE 0008                cmpa.l     A4, [A6 + 0x8]
  641. 000006A8  66F2                     bne        -0xC /* 0000069C */
  642. label000006AA:
  643. 000006AA  200C                     move.l     D0, A4
  644. 000006AC  6714                     beq        +0x16 /* 000006C2 */
  645. 000006AE  200B                     move.l     D0, A3
  646. 000006B0  660A                     bne        +0xC /* 000006BC */
  647. 000006B2  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  648. 000006B6  2154 0006                move.l     [A0 + 0x6], [A4]
  649. 000006BA  6002                     bra        +0x4 /* 000006BE */
  650. label000006BC:
  651. 000006BC  2694                     move.l     [A3], [A4]
  652. label000006BE:
  653. 000006BE  204C                     movea.l    A0, A4
  654. 000006C0  A01F                     syscall    DisposPtr/DisposePtr
  655. label000006C2:
  656. 000006C2  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  657. 000006C8  4E5E                     unlink     A6
  658. 000006CA  4E75                     rts
  659. fn000006CC:
  660. 000006CC  4E56 0000                link       A6, 0
  661. 000006D0  48E7 0018                movem.l    -[A7], A3,A4
  662. 000006D4  266E 0008                movea.l    A3, [A6 + 0x8]
  663. 000006D8  200B                     move.l     D0, A3
  664. 000006DA  672A                     beq        +0x2C /* 00000706 */
  665. 000006DC  2F0B                     move.l     -[A7], A3
  666. 000006DE  4EBA FF3C                jsr        [PC - 0xC4 /* 0000061C */]
  667. 000006E2  2840                     movea.l    A4, D0
  668. 000006E4  200C                     move.l     D0, A4
  669. 000006E6  584F                     addq.w     A7, 4
  670. 000006E8  660A                     bne        +0xC /* 000006F4 */
  671. 000006EA  2F0B                     move.l     -[A7], A3
  672. 000006EC  4EBA FF62                jsr        [PC - 0x9E /* 00000650 */]
  673. 000006F0  2840                     movea.l    A4, D0
  674. 000006F2  584F                     addq.w     A7, 4
  675. label000006F4:
  676. 000006F4  200C                     move.l     D0, A4
  677. 000006F6  670E                     beq        +0x10 /* 00000706 */
  678. 000006F8  52AC 0008                addq.l     [A4 + 0x8], 1
  679. 000006FC  558F                     subq.l     A7, 2
  680. 000006FE  2F0B                     move.l     -[A7], A3
  681. 00000700  A9A4                     syscall    HomeResFile
  682. 00000702  395F 000C                move.w     [A4 + 0xC], [A7]+
  683. label00000706:
  684. 00000706  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  685. 0000070C  4E5E                     unlink     A6
  686. 0000070E  4E75                     rts
  687. fn00000710:
  688. 00000710  4E56 0000                link       A6, 0
  689. 00000714  3D7C FFFF 000C           move.w     [A6 + 0xC], 0xFFFF
  690. 0000071A  4E5E                     unlink     A6
  691. 0000071C  2E9F                     move.l     [A7], [A7]+
  692. 0000071E  4E75                     rts
  693. fn00000720:
  694. 00000720  4E56 FEDA                link       A6, -0x0126
  695. 00000724  48E7 0018                movem.l    -[A7], A3,A4
  696. 00000728  486E FEDA                pea.l      [A6 - 0x126]
  697. 0000072C  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  698. 00000730  3F3C 0002                move.w     -[A7], 0x2
  699. 00000734  4EBA 0C6A                jsr        [PC + 0xC6A /* 000013A0 */]
  700. 00000738  7001                     moveq.l    D0, 0x01
  701. 0000073A  2D40 FFE8                move.l     [A6 - 0x18], D0
  702. 0000073E  7000                     moveq.l    D0, 0x00
  703. 00000740  2D40 FFEC                move.l     [A6 - 0x14], D0
  704. label00000744:
  705. 00000744  47EE FFDA                lea.l      A3, [A6 - 0x26]
  706. 00000748  42A7                     clr.l      -[A7]
  707. 0000074A  2F0B                     move.l     -[A7], A3
  708. 0000074C  4EBA 0ECC                jsr        [PC + 0xECC /* 0000161A */]
  709. 00000750  265F                     movea.l    A3, [A7]+
  710. 00000752  200B                     move.l     D0, A3
  711. 00000754  6602                     bne        +0x4 /* 00000758 */
  712. 00000756  6024                     bra        +0x26 /* 0000077C */
  713. label00000758:
  714. 00000758  286B 0016                movea.l    A4, [A3 + 0x16]
  715. 0000075C  4267                     clr.w      -[A7]
  716. 0000075E  486E FEDA                pea.l      [A6 - 0x126]
  717. 00000762  206C 0002                movea.l    A0, [A4 + 0x2]
  718. 00000766  2F10                     move.l     -[A7], [A0]
  719. 00000768  42A7                     clr.l      -[A7]
  720. 0000076A  4EBA 0BDA                jsr        [PC + 0xBDA /* 00001346 */]
  721. 0000076E  101F                     move.b     D0, [A7]+
  722. 00000770  6702                     beq        +0x4 /* 00000774 */
  723. 00000772  6008                     bra        +0xA /* 0000077C */
  724. label00000774:
  725. 00000774  2D6B 0012 FFEC           move.l     [A6 - 0x14], [A3 + 0x12]
  726. 0000077A  60C8                     bra        -0x36 /* 00000744 */
  727. label0000077C:
  728. 0000077C  2D4B 000A                move.l     [A6 + 0xA], A3
  729. 00000780  4CDF 1800                movem.l    A3,A4, [A7]+
  730. 00000784  4E5E                     unlink     A6
  731. 00000786  205F                     movea.l    A0, [A7]+
  732. 00000788  544F                     addq.w     A7, 2
  733. 0000078A  4ED0                     jmp        [A0]
  734. fn0000078C:
  735. 0000078C  4E56 FFFA                link       A6, -0x0006
  736. 00000790  48E7 0118                movem.l    -[A7], D7,A3,A4
  737. 00000794  42A7                     clr.l      -[A7]
  738. 00000796  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  739. 0000079A  4EBA FF84                jsr        [PC - 0x7C /* 00000720 */]
  740. 0000079E  265F                     movea.l    A3, [A7]+
  741. 000007A0  200B                     move.l     D0, A3
  742. 000007A2  6602                     bne        +0x4 /* 000007A6 */
  743. 000007A4  6066                     bra        +0x68 /* 0000080C */
  744. label000007A6:
  745. 000007A6  4267                     clr.w      -[A7]
  746. 000007A8  2F0B                     move.l     -[A7], A3
  747. 000007AA  4EBA 0E5A                jsr        [PC + 0xE5A /* 00001606 */]
  748. 000007AE  4A5F                     tst.w      [A7]+
  749. 000007B0  6702                     beq        +0x4 /* 000007B4 */
  750. 000007B2  6058                     bra        +0x5A /* 0000080C */
  751. label000007B4:
  752. 000007B4  286B 0016                movea.l    A4, [A3 + 0x16]
  753. 000007B8  4AAC 000E                tst.l      [A4 + 0xE]
  754. 000007BC  6728                     beq        +0x2A /* 000007E6 */
  755. 000007BE  42A7                     clr.l      -[A7]
  756. 000007C0  2F2C 000E                move.l     -[A7], [A4 + 0xE]
  757. 000007C4  4EBA 0B72                jsr        [PC + 0xB72 /* 00001338 */]
  758. 000007C8  0C9F 0000 0100           cmpi.l     [A7]+, 0x100
  759. 000007CE  6F16                     ble        +0x18 /* 000007E6 */
  760. 000007D0  4267                     clr.w      -[A7]
  761. 000007D2  206C 000E                movea.l    A0, [A4 + 0xE]
  762. 000007D6  2050                     movea.l    A0, [A0]
  763. 000007D8  2F28 0100                move.l     -[A7], [A0 + 0x100]
  764. 000007DC  4267                     clr.w      -[A7]
  765. 000007DE  303C 0302                move.w     D0, 0x302
  766. 000007E2  ABC9                     syscall    IconDispatch
  767. 000007E4  3E1F                     move.w     D7, [A7]+
  768. label000007E6:
  769. 000007E6  2F2C 000E                move.l     -[A7], [A4 + 0xE]
  770. 000007EA  205F                     movea.l    A0, [A7]+
  771. 000007EC  A023                     syscall    DisposHandle/DisposeHandle
  772. 000007EE  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  773. 000007F2  205F                     movea.l    A0, [A7]+
  774. 000007F4  A023                     syscall    DisposHandle/DisposeHandle
  775. 000007F6  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  776. 000007FA  205F                     movea.l    A0, [A7]+
  777. 000007FC  A023                     syscall    DisposHandle/DisposeHandle
  778. 000007FE  2F2C 0006                move.l     -[A7], [A4 + 0x6]
  779. 00000802  205F                     movea.l    A0, [A7]+
  780. 00000804  A023                     syscall    DisposHandle/DisposeHandle
  781. 00000806  2F0B                     move.l     -[A7], A3
  782. 00000808  205F                     movea.l    A0, [A7]+
  783. 0000080A  A01F                     syscall    DisposPtr/DisposePtr
  784. label0000080C:
  785. 0000080C  4CDF 1880                movem.l    D7,A3,A4, [A7]+
  786. 00000810  4E5E                     unlink     A6
  787. 00000812  205F                     movea.l    A0, [A7]+
  788. 00000814  544F                     addq.w     A7, 2
  789. 00000816  4ED0                     jmp        [A0]
  790. fn00000818:
  791. 00000818  4E56 FEFC                link       A6, -0x0104
  792. 0000081C  486E FF00                pea.l      [A6 - 0x100]
  793. 00000820  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  794. 00000824  4EBA 0B7A                jsr        [PC + 0xB7A /* 000013A0 */]
  795. 00000828  42A7                     clr.l      -[A7]
  796. 0000082A  486E FF00                pea.l      [A6 - 0x100]
  797. 0000082E  A906                     syscall    NewString
  798. 00000830  2D5F 000C                move.l     [A6 + 0xC], [A7]+
  799. 00000834  4E5E                     unlink     A6
  800. 00000836  205F                     movea.l    A0, [A7]+
  801. 00000838  584F                     addq.w     A7, 4
  802. 0000083A  4ED0                     jmp        [A0]
  803. fn0000083C:
  804. 0000083C  4E56 FFE8                link       A6, -0x0018
  805. 00000840  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  806. 00000844  42A7                     clr.l      -[A7]
  807. 00000846  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  808. 0000084A  4EBA FED4                jsr        [PC - 0x12C /* 00000720 */]
  809. 0000084E  2E1F                     move.l     D7, [A7]+
  810. 00000850  6704                     beq        +0x6 /* 00000856 */
  811. 00000852  6000 0146                bra        +0x148 /* 0000099A */
  812. label00000856:
  813. 00000856  4267                     clr.w      -[A7]
  814. 00000858  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  815. 0000085C  4EBA 0148                jsr        [PC + 0x148 /* 000009A6 */]
  816. 00000860  3A1F                     move.w     D5, [A7]+
  817. 00000862  7001                     moveq.l    D0, 0x01
  818. 00000864  B045                     cmp.w      D0, D5
  819. 00000866  6604                     bne        +0x6 /* 0000086C */
  820. 00000868  6000 0130                bra        +0x132 /* 0000099A */
  821. label0000086C:
  822. 0000086C  42A7                     clr.l      -[A7]
  823. 0000086E  7022                     moveq.l    D0, 0x22
  824. 00000870  2F00                     move.l     -[A7], D0
  825. 00000872  4EBA 0AB0                jsr        [PC + 0xAB0 /* 00001324 */]
  826. 00000876  2E1F                     move.l     D7, [A7]+
  827. 00000878  6700 010C                beq        +0x10E /* 00000986 */
  828. 0000087C  42A7                     clr.l      -[A7]
  829. 0000087E  701E                     moveq.l    D0, 0x1E
  830. 00000880  2F00                     move.l     -[A7], D0
  831. 00000882  4EBA 0AA0                jsr        [PC + 0xAA0 /* 00001324 */]
  832. 00000886  281F                     move.l     D4, [A7]+
  833. 00000888  6700 00FC                beq        +0xFE /* 00000986 */
  834. 0000088C  2847                     movea.l    A4, D7
  835. 0000088E  7001                     moveq.l    D0, 0x01
  836. 00000890  2940 000E                move.l     [A4 + 0xE], D0
  837. 00000894  2944 0016                move.l     [A4 + 0x16], D4
  838. 00000898  2844                     movea.l    A4, D4
  839. 0000089A  38BC 0001                move.w     [A4], 0x1
  840. 0000089E  42A7                     clr.l      -[A7]
  841. 000008A0  2F3C 0000 0108           move.l     -[A7], 0x108
  842. 000008A6  4EBA 0A86                jsr        [PC + 0xA86 /* 0000132E */]
  843. 000008AA  2C1F                     move.l     D6, [A7]+
  844. 000008AC  6700 00D8                beq        +0xDA /* 00000986 */
  845. 000008B0  42A7                     clr.l      -[A7]
  846. 000008B2  A11A                     syscall    GetZone, flags=1
  847. 000008B4  2E88                     move.l     [A7], A0
  848. 000008B6  2D5F FFEC                move.l     [A6 - 0x14], [A7]+
  849. 000008BA  42A7                     clr.l      -[A7]
  850. 000008BC  2EB8 02A6                move.l     [A7], [0x000002A6 /* SysZone */]
  851. 000008C0  205F                     movea.l    A0, [A7]+
  852. 000008C2  A01B                     syscall    SetZone
  853. 000008C4  2F06                     move.l     -[A7], D6
  854. 000008C6  205F                     movea.l    A0, [A7]+
  855. 000008C8  A029                     syscall    HLock
  856. 000008CA  2046                     movea.l    A0, D6
  857. 000008CC  2650                     movea.l    A3, [A0]
  858. 000008CE  4267                     clr.w      -[A7]
  859. 000008D0  486E FFF4                pea.l      [A6 - 0xC]
  860. 000008D4  3F05                     move.w     -[A7], D5
  861. 000008D6  70FF                     moveq.l    D0, 0xFFFFFFFF
  862. 000008D8  2F00                     move.l     -[A7], D0
  863. 000008DA  303C 0501                move.w     D0, 0x501
  864. 000008DE  ABC9                     syscall    IconDispatch
  865. 000008E0  3D5F FFEA                move.w     [A6 - 0x16], [A7]+
  866. 000008E4  276E FFF4 0100           move.l     [A3 + 0x100], [A6 - 0xC]
  867. 000008EA  671A                     beq        +0x1C /* 00000906 */
  868. 000008EC  4267                     clr.w      -[A7]
  869. 000008EE  486E FFF4                pea.l      [A6 - 0xC]
  870. 000008F2  2F2B 0100                move.l     -[A7], [A3 + 0x100]
  871. 000008F6  2F3C 4943 4E23           move.l     -[A7], 0x49434E23 /* 'ICN#' */
  872. 000008FC  303C 0609                move.w     D0, 0x609
  873. 00000900  ABC9                     syscall    IconDispatch
  874. 00000902  3D5F FFEA                move.w     [A6 - 0x16], [A7]+
  875. label00000906:
  876. 00000906  4AAE FFF4                tst.l      [A6 - 0xC]
  877. 0000090A  671A                     beq        +0x1C /* 00000926 */
  878. 0000090C  206E FFF4                movea.l    A0, [A6 - 0xC]
  879. 00000910  2F10                     move.l     -[A7], [A0]
  880. 00000912  2046                     movea.l    A0, D6
  881. 00000914  2050                     movea.l    A0, [A0]
  882. 00000916  2F08                     move.l     -[A7], A0
  883. 00000918  2F3C 0000 0100           move.l     -[A7], 0x100
  884. 0000091E  201F                     move.l     D0, [A7]+
  885. 00000920  225F                     movea.l    A1, [A7]+
  886. 00000922  205F                     movea.l    A0, [A7]+
  887. 00000924  A22E                     syscall    BlockMove/BlockMoveData, flags=2
  888. label00000926:
  889. 00000926  7000                     moveq.l    D0, 0x00
  890. 00000928  2740 0104                move.l     [A3 + 0x104], D0
  891. 0000092C  2F06                     move.l     -[A7], D6
  892. 0000092E  205F                     movea.l    A0, [A7]+
  893. 00000930  A02A                     syscall    HUnlock
  894. 00000932  42A7                     clr.l      -[A7]
  895. 00000934  3F05                     move.w     -[A7], D5
  896. 00000936  3F3C 0001                move.w     -[A7], 0x1
  897. 0000093A  4EBA FEDC                jsr        [PC - 0x124 /* 00000818 */]
  898. 0000093E  295F 000A                move.l     [A4 + 0xA], [A7]+
  899. 00000942  42A7                     clr.l      -[A7]
  900. 00000944  3F05                     move.w     -[A7], D5
  901. 00000946  3F3C 0002                move.w     -[A7], 0x2
  902. 0000094A  4EBA FECC                jsr        [PC - 0x134 /* 00000818 */]
  903. 0000094E  295F 0002                move.l     [A4 + 0x2], [A7]+
  904. 00000952  42A7                     clr.l      -[A7]
  905. 00000954  3F05                     move.w     -[A7], D5
  906. 00000956  3F3C 0003                move.w     -[A7], 0x3
  907. 0000095A  4EBA FEBC                jsr        [PC - 0x144 /* 00000818 */]
  908. 0000095E  295F 0006                move.l     [A4 + 0x6], [A7]+
  909. 00000962  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  910. 00000966  205F                     movea.l    A0, [A7]+
  911. 00000968  A01B                     syscall    SetZone
  912. 0000096A  2946 000E                move.l     [A4 + 0xE], D6
  913. 0000096E  297C 0000 2580 0012      move.l     [A4 + 0x12], 0x2580
  914. 00000976  297C 0000 E100 0016      move.l     [A4 + 0x16], 0xE100
  915. 0000097E  2F07                     move.l     -[A7], D7
  916. 00000980  4EBA 0C72                jsr        [PC + 0xC72 /* 000015F4 */]
  917. 00000984  6014                     bra        +0x16 /* 0000099A */
  918. label00000986:
  919. 00000986  4A84                     tst.l      D4
  920. 00000988  6706                     beq        +0x8 /* 00000990 */
  921. 0000098A  2F04                     move.l     -[A7], D4
  922. 0000098C  205F                     movea.l    A0, [A7]+
  923. 0000098E  A01F                     syscall    DisposPtr/DisposePtr
  924. label00000990:
  925. 00000990  4A87                     tst.l      D7
  926. 00000992  6706                     beq        +0x8 /* 0000099A */
  927. 00000994  2F07                     move.l     -[A7], D7
  928. 00000996  205F                     movea.l    A0, [A7]+
  929. 00000998  A01F                     syscall    DisposPtr/DisposePtr
  930. label0000099A:
  931. 0000099A  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  932. 0000099E  4E5E                     unlink     A6
  933. 000009A0  205F                     movea.l    A0, [A7]+
  934. 000009A2  544F                     addq.w     A7, 2
  935. 000009A4  4ED0                     jmp        [A0]
  936. fn000009A6:
  937. 000009A6  4E56 FFF8                link       A6, -0x0008
  938. 000009AA  3D6E 0008 000A           move.w     [A6 + 0xA], [A6 + 0x8]
  939. 000009B0  4267                     clr.w      -[A7]
  940. 000009B2  2F3C 706F 7274           move.l     -[A7], 0x706F7274 /* 'port' */
  941. 000009B8  486E FFFA                pea.l      [A6 - 0x6]
  942. 000009BC  4EBA 0A28                jsr        [PC + 0xA28 /* 000013E6 */]
  943. 000009C0  4A5F                     tst.w      [A7]+
  944. 000009C2  6670                     bne        +0x72 /* 00000A34 */
  945. 000009C4  0C6E 8101 0008           cmpi.w     [A6 + 0x8], 0x8101
  946. 000009CA  57C0                     seq        D0
  947. 000009CC  082E 0001 FFFD           btst.b     [A6 - 0x3], 0x1
  948. 000009D2  56C1                     sne        D1
  949. 000009D4  C001                     and.b      D0, D1
  950. 000009D6  6656                     bne        +0x58 /* 00000A2E */
  951. 000009D8  0C6E 8103 0008           cmpi.w     [A6 + 0x8], 0x8103
  952. 000009DE  6614                     bne        +0x16 /* 000009F4 */
  953. 000009E0  4267                     clr.w      -[A7]
  954. 000009E2  4EBA 0058                jsr        [PC + 0x58 /* 00000A3C */]
  955. 000009E6  101F                     move.b     D0, [A7]+
  956. 000009E8  6602                     bne        +0x4 /* 000009EC */
  957. 000009EA  6042                     bra        +0x44 /* 00000A2E */
  958. label000009EC:
  959. 000009EC  082E 0000 FFFD           btst.b     [A6 - 0x3], 0x0
  960. 000009F2  663A                     bne        +0x3C /* 00000A2E */
  961. label000009F4:
  962. 000009F4  0C6E 8100 0008           cmpi.w     [A6 + 0x8], 0x8100
  963. 000009FA  6638                     bne        +0x3A /* 00000A34 */
  964. 000009FC  4267                     clr.w      -[A7]
  965. 000009FE  4EBA 003C                jsr        [PC + 0x3C /* 00000A3C */]
  966. 00000A02  082E 0000 FFFD           btst.b     [A6 - 0x3], 0x0
  967. 00000A08  56C0                     sne        D0
  968. 00000A0A  C01F                     and.b      D0, [A7]+
  969. 00000A0C  6708                     beq        +0xA /* 00000A16 */
  970. 00000A0E  3D7C 8103 000A           move.w     [A6 + 0xA], 0x8103
  971. 00000A14  601E                     bra        +0x20 /* 00000A34 */
  972. label00000A16:
  973. 00000A16  082E 0002 FFFD           btst.b     [A6 - 0x3], 0x2
  974. 00000A1C  6610                     bne        +0x12 /* 00000A2E */
  975. 00000A1E  082E 0001 FFFD           btst.b     [A6 - 0x3], 0x1
  976. 00000A24  670E                     beq        +0x10 /* 00000A34 */
  977. 00000A26  3D7C 8104 000A           move.w     [A6 + 0xA], 0x8104
  978. 00000A2C  6006                     bra        +0x8 /* 00000A34 */
  979. label00000A2E:
  980. 00000A2E  3D7C 0001 000A           move.w     [A6 + 0xA], 0x1
  981. label00000A34:
  982. 00000A34  4E5E                     unlink     A6
  983. 00000A36  205F                     movea.l    A0, [A7]+
  984. 00000A38  544F                     addq.w     A7, 2
  985. 00000A3A  4ED0                     jmp        [A0]
  986. fn00000A3C:
  987. 00000A3C  4E56 FFF0                link       A6, -0x0010
  988. 00000A40  48E7 0300                movem.l    -[A7], D6,D7
  989. 00000A44  422E 0008                clr.b      [A6 + 0x8]
  990. 00000A48  4267                     clr.w      -[A7]
  991. 00000A4A  2F3C 706F 7772           move.l     -[A7], 0x706F7772 /* 'powr' */
  992. 00000A50  486E FFF6                pea.l      [A6 - 0xA]
  993. 00000A54  4EBA 0990                jsr        [PC + 0x990 /* 000013E6 */]
  994. 00000A58  3E1F                     move.w     D7, [A7]+
  995. 00000A5A  6704                     beq        +0x6 /* 00000A60 */
  996. 00000A5C  6000 009E                bra        +0xA0 /* 00000AFC */
  997. label00000A60:
  998. 00000A60  082E 0000 FFF9           btst.b     [A6 - 0x7], 0x0
  999. 00000A66  6604                     bne        +0x6 /* 00000A6C */
  1000. 00000A68  6000 0092                bra        +0x94 /* 00000AFC */
  1001. label00000A6C:
  1002. 00000A6C  4267                     clr.w      -[A7]
  1003. 00000A6E  2F3C 6D61 6368           move.l     -[A7], 0x6D616368 /* 'mach' */
  1004. 00000A74  486E FFF2                pea.l      [A6 - 0xE]
  1005. 00000A78  4EBA 096C                jsr        [PC + 0x96C /* 000013E6 */]
  1006. 00000A7C  3E1F                     move.w     D7, [A7]+
  1007. 00000A7E  6702                     beq        +0x4 /* 00000A82 */
  1008. 00000A80  607A                     bra        +0x7C /* 00000AFC */
  1009. label00000A82:
  1010. 00000A82  302E FFF4                move.w     D0, [A6 - 0xC]
  1011. 00000A86  0440 000A                subi.w     D0, 0xA /* '\n' */
  1012. 00000A8A  6770                     beq        +0x72 /* 00000AFC */
  1013. 00000A8C  0440 000B                subi.w     D0, 0xB
  1014. 00000A90  676A                     beq        +0x6C /* 00000AFC */
  1015. 00000A92  5740                     subq.w     D0, 3
  1016. 00000A94  6766                     beq        +0x68 /* 00000AFC */
  1017. 00000A96  5340                     subq.w     D0, 1
  1018. 00000A98  6762                     beq        +0x64 /* 00000AFC */
  1019. 00000A9A  5940                     subq.w     D0, 4
  1020. 00000A9C  670C                     beq        +0xE /* 00000AAA */
  1021. 00000A9E  5740                     subq.w     D0, 3
  1022. 00000AA0  6708                     beq        +0xA /* 00000AAA */
  1023. 00000AA2  0440 0016                subi.w     D0, 0x16
  1024. 00000AA6  6754                     beq        +0x56 /* 00000AFC */
  1025. 00000AA8  6026                     bra        +0x28 /* 00000AD0 */
  1026. label00000AAA:
  1027. 00000AAA  4267                     clr.w      -[A7]
  1028. 00000AAC  486E FFF0                pea.l      [A6 - 0x10]
  1029. 00000AB0  4EBA FC5E                jsr        [PC - 0x3A2 /* 00000710 */]
  1030. 00000AB4  4A5F                     tst.w      [A7]+
  1031. 00000AB6  6644                     bne        +0x46 /* 00000AFC */
  1032. 00000AB8  7000                     moveq.l    D0, 0x00
  1033. 00000ABA  302E FFF0                move.w     D0, [A6 - 0x10]
  1034. 00000ABE  C0BC 0000 0800           and.l      D0, 0x800
  1035. 00000AC4  4A80                     tst.l      D0
  1036. 00000AC6  6734                     beq        +0x36 /* 00000AFC */
  1037. 00000AC8  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  1038. 00000ACE  602C                     bra        +0x2E /* 00000AFC */
  1039. label00000AD0:
  1040. 00000AD0  42A7                     clr.l      -[A7]
  1041. 00000AD2  203C 0003 000A           move.l     D0, 0x3000A
  1042. 00000AD8  A09F                     syscall    PowerDispatch
  1043. 00000ADA  2E80                     move.l     [A7], D0
  1044. 00000ADC  2C1F                     move.l     D6, [A7]+
  1045. 00000ADE  7002                     moveq.l    D0, 0x02
  1046. 00000AE0  B086                     cmp.l      D0, D6
  1047. 00000AE2  57C0                     seq        D0
  1048. 00000AE4  7203                     moveq.l    D1, 0x03
  1049. 00000AE6  B286                     cmp.l      D1, D6
  1050. 00000AE8  57C1                     seq        D1
  1051. 00000AEA  8001                     or.b       D0, D1
  1052. 00000AEC  7204                     moveq.l    D1, 0x04
  1053. 00000AEE  B286                     cmp.l      D1, D6
  1054. 00000AF0  57C1                     seq        D1
  1055. 00000AF2  8001                     or.b       D0, D1
  1056. 00000AF4  6706                     beq        +0x8 /* 00000AFC */
  1057. 00000AF6  1D7C 0001 0008           move.b     [A6 + 0x8], 0x1
  1058. label00000AFC:
  1059. 00000AFC  4CDF 00C0                movem.l    D6,D7, [A7]+
  1060. 00000B00  4E5E                     unlink     A6
  1061. 00000B02  4E75                     rts
  1062. fn00000B04:
  1063. 00000B04  4E56 FF44                link       A6, -0x00BC
  1064. 00000B08  206E 0012                movea.l    A0, [A6 + 0x12]
  1065. 00000B0C  43EE FFC0                lea.l      A1, [A6 - 0x40]
  1066. 00000B10  700F                     moveq.l    D0, 0x0F
  1067. label00000B12:
  1068. 00000B12  22D8                     move.l     [A1]+, [A0]+
  1069. 00000B14  51C8 FFFC                dbf        D0, -0x6 /* 00000B12 */
  1070. 00000B18  1D7C 0001 0016           move.b     [A6 + 0x16], 0x1
  1071. 00000B1E  7000                     moveq.l    D0, 0x00
  1072. 00000B20  2D40 FF52                move.l     [A6 - 0xAE], D0
  1073. 00000B24  41EE FFC0                lea.l      A0, [A6 - 0x40]
  1074. 00000B28  2D48 FF58                move.l     [A6 - 0xA8], A0
  1075. 00000B2C  3D6E 000C FF5C           move.w     [A6 - 0xA4], [A6 + 0xC]
  1076. 00000B32  2D6E 0008 FF76           move.l     [A6 - 0x8A], [A6 + 0x8]
  1077. 00000B38  426E FF5E                clr.w      [A6 - 0xA2]
  1078. 00000B3C  422E FF60                clr.b      [A6 - 0xA0]
  1079. 00000B40  426E FF62                clr.w      [A6 - 0x9E]
  1080. 00000B44  4267                     clr.w      -[A7]
  1081. 00000B46  486E FF46                pea.l      [A6 - 0xBA]
  1082. 00000B4A  205F                     movea.l    A0, [A7]+
  1083. 00000B4C  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1084. 00000B4E  3E80                     move.w     [A7], D0
  1085. 00000B50  3D5F FF44                move.w     [A6 - 0xBC], [A7]+
  1086. 00000B54  6610                     bne        +0x12 /* 00000B66 */
  1087. 00000B56  202E 000E                move.l     D0, [A6 + 0xE]
  1088. 00000B5A  B0AE FF66                cmp.l      D0, [A6 - 0x9A]
  1089. 00000B5E  57C0                     seq        D0
  1090. 00000B60  4400                     neg.b      D0
  1091. 00000B62  1D40 0016                move.b     [A6 + 0x16], D0
  1092. label00000B66:
  1093. 00000B66  4E5E                     unlink     A6
  1094. 00000B68  205F                     movea.l    A0, [A7]+
  1095. 00000B6A  DEFC 000E                add.w      A7, 0xE
  1096. 00000B6E  4ED0                     jmp        [A0]
  1097. fn00000B70:
  1098. 00000B70  4E56 FFC0                link       A6, -0x0040
  1099. 00000B74  7000                     moveq.l    D0, 0x00
  1100. 00000B76  2D40 FFCC                move.l     [A6 - 0x34], D0
  1101. 00000B7A  2D6E 000C FFD2           move.l     [A6 - 0x2E], [A6 + 0xC]
  1102. 00000B80  426E FFD6                clr.w      [A6 - 0x2A]
  1103. 00000B84  426E FFDC                clr.w      [A6 - 0x24]
  1104. 00000B88  3D6E 0010 FFD8           move.w     [A6 - 0x28], [A6 + 0x10]
  1105. 00000B8E  4267                     clr.w      -[A7]
  1106. 00000B90  486E FFC0                pea.l      [A6 - 0x40]
  1107. 00000B94  205F                     movea.l    A0, [A7]+
  1108. 00000B96  7008                     moveq.l    D0, 0x08
  1109. 00000B98  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  1110. 00000B9A  3E80                     move.w     [A7], D0
  1111. 00000B9C  3D5F FFFE                move.w     [A6 - 0x2], [A7]+
  1112. 00000BA0  206E 0008                movea.l    A0, [A6 + 0x8]
  1113. 00000BA4  30AE FFD6                move.w     [A0], [A6 - 0x2A]
  1114. 00000BA8  3D6E FFFE 0012           move.w     [A6 + 0x12], [A6 - 0x2]
  1115. 00000BAE  4E5E                     unlink     A6
  1116. 00000BB0  205F                     movea.l    A0, [A7]+
  1117. 00000BB2  DEFC 000A                add.w      A7, 0xA /* '\n' */
  1118. 00000BB6  4ED0                     jmp        [A0]
  1119. fn00000BB8:
  1120. 00000BB8  4E56 FFE6                link       A6, -0x001A
  1121. 00000BBC  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  1122. 00000BC0  3D7C FFFF 0016           move.w     [A6 + 0x16], 0xFFFF
  1123. 00000BC6  4267                     clr.w      -[A7]
  1124. 00000BC8  A994                     syscall    CurResFile
  1125. 00000BCA  3D5F FFEE                move.w     [A6 - 0x12], [A7]+
  1126. 00000BCE  3F2E 0010                move.w     -[A7], [A6 + 0x10]
  1127. 00000BD2  A998                     syscall    UseResFile
  1128. 00000BD4  42A7                     clr.l      -[A7]
  1129. 00000BD6  2F2E 0012                move.l     -[A7], [A6 + 0x12]
  1130. 00000BDA  3F3C 0001                move.w     -[A7], 0x1
  1131. 00000BDE  A80E                     syscall    Get1IndResource/Get1IxResource
  1132. 00000BE0  2E1F                     move.l     D7, [A7]+
  1133. 00000BE2  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1134. 00000BE6  A998                     syscall    UseResFile
  1135. 00000BE8  4A87                     tst.l      D7
  1136. 00000BEA  6604                     bne        +0x6 /* 00000BF0 */
  1137. 00000BEC  6000 009C                bra        +0x9E /* 00000C8A */
  1138. label00000BF0:
  1139. 00000BF0  2F07                     move.l     -[A7], D7
  1140. 00000BF2  205F                     movea.l    A0, [A7]+
  1141. 00000BF4  A04A                     syscall    HNoPurge
  1142. 00000BF6  2F07                     move.l     -[A7], D7
  1143. 00000BF8  205F                     movea.l    A0, [A7]+
  1144. 00000BFA  A029                     syscall    HLock
  1145. 00000BFC  2047                     movea.l    A0, D7
  1146. 00000BFE  2810                     move.l     D4, [A0]
  1147. 00000C00  2044                     movea.l    A0, D4
  1148. 00000C02  2D48 FFE6                move.l     [A6 - 0x1A], A0
  1149. 00000C06  2044                     movea.l    A0, D4
  1150. 00000C08  5488                     addq.l     A0, 2
  1151. 00000C0A  2C08                     move.l     D6, A0
  1152. 00000C0C  206E FFE6                movea.l    A0, [A6 - 0x1A]
  1153. 00000C10  3D50 FFFC                move.w     [A6 - 0x4], [A0]
  1154. 00000C14  6062                     bra        +0x64 /* 00000C78 */
  1155. label00000C16:
  1156. 00000C16  2846                     movea.l    A4, D6
  1157. 00000C18  202E 000C                move.l     D0, [A6 + 0xC]
  1158. 00000C1C  B094                     cmp.l      D0, [A4]
  1159. 00000C1E  6640                     bne        +0x42 /* 00000C60 */
  1160. 00000C20  3A2C 0004                move.w     D5, [A4 + 0x4]
  1161. 00000C24  6036                     bra        +0x38 /* 00000C5C */
  1162. label00000C26:
  1163. 00000C26  3005                     move.w     D0, D5
  1164. 00000C28  E540                     asl        D0.w, 2
  1165. 00000C2A  47F4 0006                lea.l      A3, [A4 + D0.w + 0x6]
  1166. 00000C2E  3D6B 0002 FFEA           move.w     [A6 - 0x16], [A3 + 0x2]
  1167. 00000C34  3D53 FFEC                move.w     [A6 - 0x14], [A3]
  1168. 00000C38  102E 0008                move.b     D0, [A6 + 0x8]
  1169. 00000C3C  670A                     beq        +0xC /* 00000C48 */
  1170. 00000C3E  3D53 FFEA                move.w     [A6 - 0x16], [A3]
  1171. 00000C42  3D6B 0002 FFEC           move.w     [A6 - 0x14], [A3 + 0x2]
  1172. label00000C48:
  1173. 00000C48  302E FFEA                move.w     D0, [A6 - 0x16]
  1174. 00000C4C  B06E 000A                cmp.w      D0, [A6 + 0xA]
  1175. 00000C50  6608                     bne        +0xA /* 00000C5A */
  1176. 00000C52  3D6E FFEC 0016           move.w     [A6 + 0x16], [A6 - 0x14]
  1177. 00000C58  6024                     bra        +0x26 /* 00000C7E */
  1178. label00000C5A:
  1179. 00000C5A  5345                     subq.w     D5, 1
  1180. label00000C5C:
  1181. 00000C5C  4A45                     tst.w      D5
  1182. 00000C5E  6CC6                     bge        -0x38 /* 00000C26 */
  1183. label00000C60:
  1184. 00000C60  2006                     move.l     D0, D6
  1185. 00000C62  5880                     addq.l     D0, 4
  1186. 00000C64  5480                     addq.l     D0, 2
  1187. 00000C66  322C 0004                move.w     D1, [A4 + 0x4]
  1188. 00000C6A  5241                     addq.w     D1, 1
  1189. 00000C6C  E541                     asl        D1.w, 2
  1190. 00000C6E  48C1                     ext.l      D1
  1191. 00000C70  2C01                     move.l     D6, D1
  1192. 00000C72  DC80                     add.l      D6, D0
  1193. 00000C74  536E FFFC                subq.w     [A6 - 0x4], 1
  1194. label00000C78:
  1195. 00000C78  4A6E FFFC                tst.w      [A6 - 0x4]
  1196. 00000C7C  6C98                     bge        -0x66 /* 00000C16 */
  1197. label00000C7E:
  1198. 00000C7E  2F07                     move.l     -[A7], D7
  1199. 00000C80  205F                     movea.l    A0, [A7]+
  1200. 00000C82  A02A                     syscall    HUnlock
  1201. 00000C84  2F07                     move.l     -[A7], D7
  1202. 00000C86  205F                     movea.l    A0, [A7]+
  1203. 00000C88  A049                     syscall    HPurge
  1204. label00000C8A:
  1205. 00000C8A  4CDF 18F0                movem.l    D4,D5,D6,D7,A3,A4, [A7]+
  1206. 00000C8E  4E5E                     unlink     A6
  1207. 00000C90  205F                     movea.l    A0, [A7]+
  1208. 00000C92  DEFC 000E                add.w      A7, 0xE
  1209. 00000C96  4ED0                     jmp        [A0]
  1210. fn00000C98:
  1211. 00000C98  4E56 0000                link       A6, 0
  1212. 00000C9C  4267                     clr.w      -[A7]
  1213. 00000C9E  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  1214. 00000CA2  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  1215. 00000CA6  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1216. 00000CAA  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1217. 00000CAE  1F3C 0001                move.b     -[A7], 0x1
  1218. 00000CB2  4EBA FF04                jsr        [PC - 0xFC /* 00000BB8 */]
  1219. 00000CB6  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  1220. 00000CBA  4E5E                     unlink     A6
  1221. 00000CBC  205F                     movea.l    A0, [A7]+
  1222. 00000CBE  DEFC 000C                add.w      A7, 0xC
  1223. 00000CC2  4ED0                     jmp        [A0]
  1224. fn00000CC4:
  1225. 00000CC4  4E56 0000                link       A6, 0
  1226. 00000CC8  4267                     clr.w      -[A7]
  1227. 00000CCA  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  1228. 00000CCE  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  1229. 00000CD2  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1230. 00000CD6  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  1231. 00000CDA  4267                     clr.w      -[A7]
  1232. 00000CDC  4EBA FEDA                jsr        [PC - 0x126 /* 00000BB8 */]
  1233. 00000CE0  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  1234. 00000CE4  4E5E                     unlink     A6
  1235. 00000CE6  205F                     movea.l    A0, [A7]+
  1236. 00000CE8  DEFC 000C                add.w      A7, 0xC
  1237. 00000CEC  4ED0                     jmp        [A0]
  1238. fn00000CEE:
  1239. 00000CEE  4E56 FEF4                link       A6, -0x010C
  1240. 00000CF2  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1241. 00000CF6  206E 0008                movea.l    A0, [A6 + 0x8]
  1242. 00000CFA  43EE FF00                lea.l      A1, [A6 - 0x100]
  1243. 00000CFE  703F                     moveq.l    D0, 0x3F
  1244. label00000D00:
  1245. 00000D00  22D8                     move.l     [A1]+, [A0]+
  1246. 00000D02  51C8 FFFC                dbf        D0, -0x6 /* 00000D00 */
  1247. 00000D06  422E 000C                clr.b      [A6 + 0xC]
  1248. 00000D0A  207C 0000 01D2           movea.l    A0, 0x1D2
  1249. 00000D10  3E10                     move.w     D7, [A0]
  1250. 00000D12  6056                     bra        +0x58 /* 00000D6A */
  1251. label00000D14:
  1252. 00000D14  42A7                     clr.l      -[A7]
  1253. 00000D16  3007                     move.w     D0, D7
  1254. 00000D18  4440                     neg.w      D0
  1255. 00000D1A  3F00                     move.w     -[A7], D0
  1256. 00000D1C  4EBA 0668                jsr        [PC + 0x668 /* 00001386 */]
  1257. 00000D20  2C1F                     move.l     D6, [A7]+
  1258. 00000D22  6744                     beq        +0x46 /* 00000D68 */
  1259. 00000D24  2046                     movea.l    A0, D6
  1260. 00000D26  2850                     movea.l    A4, [A0]
  1261. 00000D28  4A94                     tst.l      [A4]
  1262. 00000D2A  673C                     beq        +0x3E /* 00000D68 */
  1263. 00000D2C  082C 0006 0005           btst.b     [A4 + 0x5], 0x6
  1264. 00000D32  6706                     beq        +0x8 /* 00000D3A */
  1265. 00000D34  2054                     movea.l    A0, [A4]
  1266. 00000D36  2650                     movea.l    A3, [A0]
  1267. 00000D38  6002                     bra        +0x4 /* 00000D3C */
  1268. label00000D3A:
  1269. 00000D3A  2654                     movea.l    A3, [A4]
  1270. label00000D3C:
  1271. 00000D3C  200B                     move.l     D0, A3
  1272. 00000D3E  6728                     beq        +0x2A /* 00000D68 */
  1273. 00000D40  4267                     clr.w      -[A7]
  1274. 00000D42  486B 0012                pea.l      [A3 + 0x12]
  1275. 00000D46  486E FF00                pea.l      [A6 - 0x100]
  1276. 00000D4A  4267                     clr.w      -[A7]
  1277. 00000D4C  1F3C 0001                move.b     -[A7], 0x1
  1278. 00000D50  4EBA 05F4                jsr        [PC + 0x5F4 /* 00001346 */]
  1279. 00000D54  101F                     move.b     D0, [A7]+
  1280. 00000D56  6710                     beq        +0x12 /* 00000D68 */
  1281. 00000D58  082C 0005 0005           btst.b     [A4 + 0x5], 0x5
  1282. 00000D5E  56C0                     sne        D0
  1283. 00000D60  4400                     neg.b      D0
  1284. 00000D62  1D40 000C                move.b     [A6 + 0xC], D0
  1285. 00000D66  6008                     bra        +0xA /* 00000D70 */
  1286. label00000D68:
  1287. 00000D68  5347                     subq.w     D7, 1
  1288. label00000D6A:
  1289. 00000D6A  7001                     moveq.l    D0, 0x01
  1290. 00000D6C  B047                     cmp.w      D0, D7
  1291. 00000D6E  6FA4                     ble        -0x5A /* 00000D14 */
  1292. label00000D70:
  1293. 00000D70  4CDF 18C0                movem.l    D6,D7,A3,A4, [A7]+
  1294. 00000D74  4E5E                     unlink     A6
  1295. 00000D76  2E9F                     move.l     [A7], [A7]+
  1296. 00000D78  4E75                     rts
  1297. fn00000D7A:
  1298. 00000D7A  48E7 6000                movem.l    -[A7], D1,D2
  1299. 00000D7E  3200                     move.w     D1, D0
  1300. 00000D80  4240                     clr.w      D0
  1301. 00000D82  2078 0A50                movea.l    A0, [0x00000A50 /* TopMapHndl */]
  1302. label00000D86:
  1303. 00000D86  2408                     move.l     D2, A0
  1304. 00000D88  6712                     beq        +0x14 /* 00000D9C */
  1305. 00000D8A  2050                     movea.l    A0, [A0]
  1306. 00000D8C  B268 0014                cmp.w      D1, [A0 + 0x14]
  1307. 00000D90  6706                     beq        +0x8 /* 00000D98 */
  1308. 00000D92  2068 0010                movea.l    A0, [A0 + 0x10]
  1309. 00000D96  60EE                     bra        -0x10 /* 00000D86 */
  1310. label00000D98:
  1311. 00000D98  303C 0001                move.w     D0, 0x1
  1312. label00000D9C:
  1313. 00000D9C  4CDF 0006                movem.l    D1,D2, [A7]+
  1314. 00000DA0  4A40                     tst.w      D0
  1315. 00000DA2  4E75                     rts
  1316. fn00000DA4:
  1317. 00000DA4  48E7 0060                movem.l    -[A7], A1,A2
  1318. 00000DA8  7066                     moveq.l    D0, 0x66
  1319. 00000DAA  A722                     syscall    NewHandleSysClear, flags=7
  1320. 00000DAC  2008                     move.l     D0, A0
  1321. 00000DAE  6710                     beq        +0x12 /* 00000DC0 */
  1322. 00000DB0  2250                     movea.l    A1, [A0]
  1323. 00000DB2  2478 0BB4                movea.l    A2, [0x00000BB4 /* CommToolboxGlob */]
  1324. 00000DB6  236A 0010 0062           move.l     [A1 + 0x62], [A2 + 0x10]
  1325. 00000DBC  2548 0010                move.l     [A2 + 0x10], A0
  1326. label00000DC0:
  1327. 00000DC0  4CDF 0600                movem.l    A1,A2, [A7]+
  1328. 00000DC4  4E75                     rts
  1329. fn00000DC6:
  1330. 00000DC6  48E7 4040                movem.l    -[A7], D1,A1
  1331. 00000DCA  2078 0BB4                movea.l    A0, [0x00000BB4 /* CommToolboxGlob */]
  1332. 00000DCE  2068 0010                movea.l    A0, [A0 + 0x10]
  1333. label00000DD2:
  1334. 00000DD2  2208                     move.l     D1, A0
  1335. 00000DD4  670E                     beq        +0x10 /* 00000DE4 */
  1336. 00000DD6  2250                     movea.l    A1, [A0]
  1337. 00000DD8  B069 0046                cmp.w      D0, [A1 + 0x46]
  1338. 00000DDC  6706                     beq        +0x8 /* 00000DE4 */
  1339. 00000DDE  2069 0062                movea.l    A0, [A1 + 0x62]
  1340. 00000DE2  60EE                     bra        -0x10 /* 00000DD2 */
  1341. label00000DE4:
  1342. 00000DE4  4CDF 0202                movem.l    D1,A1, [A7]+
  1343. 00000DE8  4E75                     rts
  1344. fn00000DEA:
  1345. 00000DEA  48E7 0060                movem.l    -[A7], A1,A2
  1346. 00000DEE  2478 0BB4                movea.l    A2, [0x00000BB4 /* CommToolboxGlob */]
  1347. 00000DF2  226A 0010                movea.l    A1, [A2 + 0x10]
  1348. 00000DF6  B3C8                     cmpa.l     A1, A0
  1349. 00000DF8  660A                     bne        +0xC /* 00000E04 */
  1350. 00000DFA  2251                     movea.l    A1, [A1]
  1351. 00000DFC  2569 0062 0010           move.l     [A2 + 0x10], [A1 + 0x62]
  1352. 00000E02  601C                     bra        +0x1E /* 00000E20 */
  1353. label00000E04:
  1354. 00000E04  2009                     move.l     D0, A1
  1355. 00000E06  6718                     beq        +0x1A /* 00000E20 */
  1356. 00000E08  2251                     movea.l    A1, [A1]
  1357. 00000E0A  B1E9 0062                cmpa.l     A0, [A1 + 0x62]
  1358. 00000E0E  660A                     bne        +0xC /* 00000E1A */
  1359. 00000E10  2450                     movea.l    A2, [A0]
  1360. 00000E12  236A 0062 0062           move.l     [A1 + 0x62], [A2 + 0x62]
  1361. 00000E18  6006                     bra        +0x8 /* 00000E20 */
  1362. label00000E1A:
  1363. 00000E1A  2269 0062                movea.l    A1, [A1 + 0x62]
  1364. 00000E1E  60E4                     bra        -0x1A /* 00000E04 */
  1365. label00000E20:
  1366. 00000E20  A023                     syscall    DisposHandle/DisposeHandle
  1367. 00000E22  4CDF 0600                movem.l    A1,A2, [A7]+
  1368. 00000E26  4E75                     rts
  1369. 00000E28  4E56 FF28                link       A6, -0x00D8
  1370. 00000E2C  48E7 7C70                movem.l    -[A7], D1,D2,D3,D4,D5,A1,A2,A3
  1371. 00000E30  3228 0006                move.w     D1, [A0 + 0x6]
  1372. 00000E34  2428 0002                move.l     D2, [A0 + 0x2]
  1373. 00000E38  2668 0008                movea.l    A3, [A0 + 0x8]
  1374. 00000E3C  200B                     move.l     D0, A3
  1375. 00000E3E  A055                     syscall    StripAddress
  1376. 00000E40  2640                     movea.l    A3, D0
  1377. 00000E42  2638 0118                move.l     D3, [0x00000118 /* TheZone */]
  1378. 00000E46  7A01                     moveq.l    D5, 0x01
  1379. 00000E48  6100 04C4                bsr        +0x4C6 /* 0000130E */
  1380. 00000E4C  6602                     bne        +0x4 /* 00000E50 */
  1381. 00000E4E  7A00                     moveq.l    D5, 0x00
  1382. label00000E50:
  1383. 00000E50  2478 0BB4                movea.l    A2, [0x00000BB4 /* CommToolboxGlob */]
  1384. 00000E54  246A 0010                movea.l    A2, [A2 + 0x10]
  1385. label00000E58:
  1386. 00000E58  200A                     move.l     D0, A2
  1387. 00000E5A  672C                     beq        +0x2E /* 00000E88 */
  1388. 00000E5C  2452                     movea.l    A2, [A2]
  1389. 00000E5E  B252                     cmp.w      D1, [A2]
  1390. 00000E60  6620                     bne        +0x22 /* 00000E82 */
  1391. 00000E62  B4AA 0002                cmp.l      D2, [A2 + 0x2]
  1392. 00000E66  661A                     bne        +0x1C /* 00000E82 */
  1393. 00000E68  B6AA 004C                cmp.l      D3, [A2 + 0x4C]
  1394. 00000E6C  6614                     bne        +0x16 /* 00000E82 */
  1395. 00000E6E  7000                     moveq.l    D0, 0x00
  1396. 00000E70  41EA 0006                lea.l      A0, [A2 + 0x6]
  1397. 00000E74  1018                     move.b     D0, [A0]+
  1398. 00000E76  4840                     swap.w     D0
  1399. 00000E78  224B                     movea.l    A1, A3
  1400. 00000E7A  1019                     move.b     D0, [A1]+
  1401. 00000E7C  A03C                     syscall    CmpString
  1402. 00000E7E  6700 00FE                beq        +0x100 /* 00000F7E */
  1403. label00000E82:
  1404. 00000E82  246A 0062                movea.l    A2, [A2 + 0x62]
  1405. 00000E86  60D0                     bra        -0x2E /* 00000E58 */
  1406. label00000E88:
  1407. 00000E88  41EE FF28                lea.l      A0, [A6 - 0xD8]
  1408. 00000E8C  7050                     moveq.l    D0, 0x50
  1409. 00000E8E  4EBA 0378                jsr        [PC + 0x378 /* 00001208 */]
  1410. 00000E92  3141 0016                move.w     [A0 + 0x16], D1
  1411. 00000E96  2142 0030                move.l     [A0 + 0x30], D2
  1412. 00000E9A  214B 0012                move.l     [A0 + 0x12], A3
  1413. 00000E9E  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1414. 00000EA0  6B00 0102                bmi        +0x104 /* 00000FA4 */
  1415. 00000EA4  3028 0028                move.w     D0, [A0 + 0x28]
  1416. 00000EA8  0800 000F                btst.b     D0, 0xF
  1417. 00000EAC  6748                     beq        +0x4A /* 00000EF6 */
  1418. 00000EAE  3D41 FF78                move.w     [A6 - 0x88], D1
  1419. 00000EB2  2D42 FF7A                move.l     [A6 - 0x86], D2
  1420. 00000EB6  204B                     movea.l    A0, A3
  1421. 00000EB8  43EE FF7E                lea.l      A1, [A6 - 0x82]
  1422. 00000EBC  7020                     moveq.l    D0, 0x20
  1423. 00000EBE  A22E                     syscall    BlockMove/BlockMoveData, flags=2
  1424. 00000EC0  554F                     subq.w     A7, 2
  1425. 00000EC2  486E FF78                pea.l      [A6 - 0x88]
  1426. 00000EC6  50E7                     st         -[A7]
  1427. 00000EC8  486E FFBE                pea.l      [A6 - 0x42]
  1428. 00000ECC  486E FFBE                pea.l      [A6 - 0x42]
  1429. 00000ED0  700C                     moveq.l    D0, 0x0C
  1430. 00000ED2  A823                     syscall    AliasDispatch
  1431. 00000ED4  301F                     move.w     D0, [A7]+
  1432. 00000ED6  4A40                     tst.w      D0
  1433. 00000ED8  6600 00CA                bne        +0xCC /* 00000FA4 */
  1434. 00000EDC  322E FF78                move.w     D1, [A6 - 0x88]
  1435. 00000EE0  242E FF7A                move.l     D2, [A6 - 0x86]
  1436. 00000EE4  41EE FF7E                lea.l      A0, [A6 - 0x82]
  1437. 00000EE8  43EE FFC0                lea.l      A1, [A6 - 0x40]
  1438. 00000EEC  2649                     movea.l    A3, A1
  1439. 00000EEE  7020                     moveq.l    D0, 0x20
  1440. 00000EF0  A22E                     syscall    BlockMove/BlockMoveData, flags=2
  1441. 00000EF2  6000 FF5C                bra        -0xA2 /* 00000E50 */
  1442. label00000EF6:
  1443. 00000EF6  48E7 6000                movem.l    -[A7], D1,D2
  1444. 00000EFA  4A85                     tst.l      D5
  1445. 00000EFC  660A                     bne        +0xC /* 00000F08 */
  1446. 00000EFE  558F                     subq.l     A7, 2
  1447. 00000F00  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  1448. 00000F04  A88F                     syscall    OSDispatch
  1449. 00000F06  548F                     addq.l     A7, 2
  1450. label00000F08:
  1451. 00000F08  4CD7 0006                movem.l    D1,D2, [A7]
  1452. 00000F0C  4267                     clr.w      -[A7]
  1453. 00000F0E  3F01                     move.w     -[A7], D1
  1454. 00000F10  2F02                     move.l     -[A7], D2
  1455. 00000F12  2F0B                     move.l     -[A7], A3
  1456. 00000F14  1F3C 0001                move.b     -[A7], 0x1
  1457. 00000F18  A81A                     syscall    HOpenResFile
  1458. 00000F1A  381F                     move.w     D4, [A7]+
  1459. 00000F1C  4A85                     tst.l      D5
  1460. 00000F1E  660A                     bne        +0xC /* 00000F2A */
  1461. 00000F20  558F                     subq.l     A7, 2
  1462. 00000F22  3F3C 0041                move.w     -[A7], 0x41 /* 'A' */
  1463. 00000F26  A88F                     syscall    OSDispatch
  1464. 00000F28  544F                     addq.w     A7, 2
  1465. label00000F2A:
  1466. 00000F2A  4CDF 0006                movem.l    D1,D2, [A7]+
  1467. 00000F2E  0C44 FFFF                cmpi.w     D4, 0xFFFF
  1468. 00000F32  6770                     beq        +0x72 /* 00000FA4 */
  1469. 00000F34  4EBA FE6E                jsr        [PC - 0x192 /* 00000DA4 */]
  1470. 00000F38  2008                     move.l     D0, A0
  1471. 00000F3A  6748                     beq        +0x4A /* 00000F84 */
  1472. 00000F3C  2450                     movea.l    A2, [A0]
  1473. 00000F3E  7040                     moveq.l    D0, 0x40
  1474. 00000F40  204B                     movea.l    A0, A3
  1475. 00000F42  43EA 0006                lea.l      A1, [A2 + 0x6]
  1476. 00000F46  A22E                     syscall    BlockMove/BlockMoveData, flags=2
  1477. 00000F48  3481                     move.w     [A2], D1
  1478. 00000F4A  2542 0002                move.l     [A2 + 0x2], D2
  1479. 00000F4E  3544 0046                move.w     [A2 + 0x46], D4
  1480. 00000F52  2578 0A50 0048           move.l     [A2 + 0x48], [0x00000A50 /* TopMapHndl */]
  1481. 00000F58  2543 004C                move.l     [A2 + 0x4C], D3
  1482. 00000F5C  2078 0A50                movea.l    A0, [0x00000A50 /* TopMapHndl */]
  1483. 00000F60  2050                     movea.l    A0, [A0]
  1484. 00000F62  21E8 0010 0A50           move.l     [0x00000A50 /* TopMapHndl */], [A0 + 0x10]
  1485. 00000F68  42A8 0010                clr.l      [A0 + 0x10]
  1486. 00000F6C  08E8 0003 0017           bset.b     [A0 + 0x17], 0x3
  1487. 00000F72  2078 0A50                movea.l    A0, [0x00000A50 /* TopMapHndl */]
  1488. 00000F76  2050                     movea.l    A0, [A0]
  1489. 00000F78  3F28 0014                move.w     -[A7], [A0 + 0x14]
  1490. 00000F7C  A998                     syscall    UseResFile
  1491. label00000F7E:
  1492. 00000F7E  302A 0046                move.w     D0, [A2 + 0x46]
  1493. 00000F82  6024                     bra        +0x26 /* 00000FA8 */
  1494. label00000F84:
  1495. 00000F84  4A85                     tst.l      D5
  1496. 00000F86  660A                     bne        +0xC /* 00000F92 */
  1497. 00000F88  554F                     subq.w     A7, 2
  1498. 00000F8A  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  1499. 00000F8E  A88F                     syscall    OSDispatch
  1500. 00000F90  544F                     addq.w     A7, 2
  1501. label00000F92:
  1502. 00000F92  3F04                     move.w     -[A7], D4
  1503. 00000F94  A99A                     syscall    CloseResFile
  1504. 00000F96  4A85                     tst.l      D5
  1505. 00000F98  660A                     bne        +0xC /* 00000FA4 */
  1506. 00000F9A  554F                     subq.w     A7, 2
  1507. 00000F9C  3F3C 0041                move.w     -[A7], 0x41 /* 'A' */
  1508. 00000FA0  A88F                     syscall    OSDispatch
  1509. 00000FA2  544F                     addq.w     A7, 2
  1510. label00000FA4:
  1511. 00000FA4  303C FFFF                move.w     D0, 0xFFFF
  1512. label00000FA8:
  1513. 00000FA8  4CDF 0E3E                movem.l    D1,D2,D3,D4,D5,A1,A2,A3, [A7]+
  1514. 00000FAC  4E5E                     unlink     A6
  1515. 00000FAE  4E75                     rts
  1516. 00000FB0  3028 0002                move.w     D0, [A0 + 0x2]
  1517. 00000FB4  4EBA FE10                jsr        [PC - 0x1F0 /* 00000DC6 */]
  1518. 00000FB8  2008                     move.l     D0, A0
  1519. 00000FBA  6714                     beq        +0x16 /* 00000FD0 */
  1520. 00000FBC  2038 0118                move.l     D0, [0x00000118 /* TheZone */]
  1521. 00000FC0  2050                     movea.l    A0, [A0]
  1522. 00000FC2  B0A8 004C                cmp.l      D0, [A0 + 0x4C]
  1523. 00000FC6  6608                     bne        +0xA /* 00000FD0 */
  1524. 00000FC8  52A8 0050                addq.l     [A0 + 0x50], 1
  1525. 00000FCC  7000                     moveq.l    D0, 0x00
  1526. 00000FCE  6004                     bra        +0x6 /* 00000FD4 */
  1527. label00000FD0:
  1528. 00000FD0  303C FFD5                move.w     D0, 0xFFD5
  1529. label00000FD4:
  1530. 00000FD4  4E75                     rts
  1531. 00000FD6  48E7 7070                movem.l    -[A7], D1,D2,D3,A1,A2,A3
  1532. 00000FDA  3228 0002                move.w     D1, [A0 + 0x2]
  1533. 00000FDE  3001                     move.w     D0, D1
  1534. 00000FE0  4EBA FDE4                jsr        [PC - 0x21C /* 00000DC6 */]
  1535. 00000FE4  2008                     move.l     D0, A0
  1536. 00000FE6  675C                     beq        +0x5E /* 00001044 */
  1537. 00000FE8  2248                     movea.l    A1, A0
  1538. 00000FEA  2451                     movea.l    A2, [A1]
  1539. 00000FEC  2438 0118                move.l     D2, [0x00000118 /* TheZone */]
  1540. 00000FF0  B4AA 004C                cmp.l      D2, [A2 + 0x4C]
  1541. 00000FF4  664E                     bne        +0x50 /* 00001044 */
  1542. 00000FF6  53AA 0050                subq.l     [A2 + 0x50], 1
  1543. 00000FFA  6E44                     bgt        +0x46 /* 00001040 */
  1544. 00000FFC  3001                     move.w     D0, D1
  1545. 00000FFE  4EBA FD7A                jsr        [PC - 0x286 /* 00000D7A */]
  1546. 00001002  6610                     bne        +0x12 /* 00001014 */
  1547. 00001004  206A 0048                movea.l    A0, [A2 + 0x48]
  1548. 00001008  2650                     movea.l    A3, [A0]
  1549. 0000100A  2778 0A50 0010           move.l     [A3 + 0x10], [0x00000A50 /* TopMapHndl */]
  1550. 00001010  21C8 0A50                move.l     [0x00000A50 /* TopMapHndl */], A0
  1551. label00001014:
  1552. 00001014  3F01                     move.w     -[A7], D1
  1553. 00001016  7601                     moveq.l    D3, 0x01
  1554. 00001018  6100 02F4                bsr        +0x2F6 /* 0000130E */
  1555. 0000101C  660C                     bne        +0xE /* 0000102A */
  1556. 0000101E  558F                     subq.l     A7, 2
  1557. 00001020  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  1558. 00001024  A88F                     syscall    OSDispatch
  1559. 00001026  548F                     addq.l     A7, 2
  1560. 00001028  7600                     moveq.l    D3, 0x00
  1561. label0000102A:
  1562. 0000102A  A99A                     syscall    CloseResFile
  1563. 0000102C  4A83                     tst.l      D3
  1564. 0000102E  660A                     bne        +0xC /* 0000103A */
  1565. 00001030  558F                     subq.l     A7, 2
  1566. 00001032  3F3C 0041                move.w     -[A7], 0x41 /* 'A' */
  1567. 00001036  A88F                     syscall    OSDispatch
  1568. 00001038  544F                     addq.w     A7, 2
  1569. label0000103A:
  1570. 0000103A  2049                     movea.l    A0, A1
  1571. 0000103C  4EBA FDAC                jsr        [PC - 0x254 /* 00000DEA */]
  1572. label00001040:
  1573. 00001040  4240                     clr.w      D0
  1574. 00001042  6004                     bra        +0x6 /* 00001048 */
  1575. label00001044:
  1576. 00001044  303C FFD5                move.w     D0, 0xFFD5
  1577. label00001048:
  1578. 00001048  4CDF 0E0E                movem.l    D1,D2,D3,A1,A2,A3, [A7]+
  1579. 0000104C  4E75                     rts
  1580. 0000104E  3028 0002                move.w     D0, [A0 + 0x2]
  1581. 00001052  4EBA FD72                jsr        [PC - 0x28E /* 00000DC6 */]
  1582. 00001056  2008                     move.l     D0, A0
  1583. 00001058  6712                     beq        +0x14 /* 0000106C */
  1584. 0000105A  2038 0118                move.l     D0, [0x00000118 /* TheZone */]
  1585. 0000105E  2050                     movea.l    A0, [A0]
  1586. 00001060  B0A8 004C                cmp.l      D0, [A0 + 0x4C]
  1587. 00001064  6606                     bne        +0x8 /* 0000106C */
  1588. 00001066  2028 0050                move.l     D0, [A0 + 0x50]
  1589. 0000106A  6004                     bra        +0x6 /* 00001070 */
  1590. label0000106C:
  1591. 0000106C  303C FFD5                move.w     D0, 0xFFD5
  1592. label00001070:
  1593. 00001070  4E75                     rts
  1594. 00001072  48E7 6078                movem.l    -[A7], D1,D2,A1,A2,A3,A4
  1595. 00001076  7200                     moveq.l    D1, 0x00
  1596. 00001078  2448                     movea.l    A2, A0
  1597. 0000107A  226A 0002                movea.l    A1, [A2 + 0x2]
  1598. 0000107E  302A 0006                move.w     D0, [A2 + 0x6]
  1599. 00001082  0C40 FFFF                cmpi.w     D0, 0xFFFF
  1600. 00001086  660A                     bne        +0xC /* 00001092 */
  1601. 00001088  3029 0006                move.w     D0, [A1 + 0x6]
  1602. 0000108C  3540 0006                move.w     [A2 + 0x6], D0
  1603. 00001090  7201                     moveq.l    D1, 0x01
  1604. label00001092:
  1605. 00001092  4EBA FD32                jsr        [PC - 0x2CE /* 00000DC6 */]
  1606. 00001096  2008                     move.l     D0, A0
  1607. 00001098  6700 0090                beq        +0x92 /* 0000112A */
  1608. 0000109C  2438 0118                move.l     D2, [0x00000118 /* TheZone */]
  1609. 000010A0  2050                     movea.l    A0, [A0]
  1610. 000010A2  B4A8 004C                cmp.l      D2, [A0 + 0x4C]
  1611. 000010A6  6600 0082                bne        +0x84 /* 0000112A */
  1612. 000010AA  32BC FFFF                move.w     [A1], 0xFFFF
  1613. 000010AE  4229 0008                clr.b      [A1 + 0x8]
  1614. 000010B2  336A 0006 0006           move.w     [A1 + 0x6], [A2 + 0x6]
  1615. 000010B8  2468 0048                movea.l    A2, [A0 + 0x48]
  1616. 000010BC  2678 0A54                movea.l    A3, [0x00000A54 /* SysMapHndl */]
  1617. 000010C0  2653                     movea.l    A3, [A3]
  1618. 000010C2  236B 0010 0002           move.l     [A1 + 0x2], [A3 + 0x10]
  1619. 000010C8  6732                     beq        +0x34 /* 000010FC */
  1620. 000010CA  266B 0010                movea.l    A3, [A3 + 0x10]
  1621. 000010CE  2853                     movea.l    A4, [A3]
  1622. 000010D0  32AC 0014                move.w     [A1], [A4 + 0x14]
  1623. 000010D4  99CC                     sub.l      A4, A4
  1624. label000010D6:
  1625. 000010D6  B5CB                     cmpa.l     A2, A3
  1626. 000010D8  6616                     bne        +0x18 /* 000010F0 */
  1627. 000010DA  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  1628. 000010E0  200C                     move.l     D0, A4
  1629. 000010E2  672A                     beq        +0x2C /* 0000110E */
  1630. 000010E4  2854                     movea.l    A4, [A4]
  1631. 000010E6  2653                     movea.l    A3, [A3]
  1632. 000010E8  296B 0010 0010           move.l     [A4 + 0x10], [A3 + 0x10]
  1633. 000010EE  601E                     bra        +0x20 /* 0000110E */
  1634. label000010F0:
  1635. 000010F0  284B                     movea.l    A4, A3
  1636. 000010F2  2653                     movea.l    A3, [A3]
  1637. 000010F4  266B 0010                movea.l    A3, [A3 + 0x10]
  1638. 000010F8  200B                     move.l     D0, A3
  1639. 000010FA  66DA                     bne        -0x24 /* 000010D6 */
  1640. label000010FC:
  1641. 000010FC  2652                     movea.l    A3, [A2]
  1642. 000010FE  2878 0A54                movea.l    A4, [0x00000A54 /* SysMapHndl */]
  1643. 00001102  2854                     movea.l    A4, [A4]
  1644. 00001104  276C 0010 0010           move.l     [A3 + 0x10], [A4 + 0x10]
  1645. 0000110A  294A 0010                move.l     [A4 + 0x10], A2
  1646. label0000110E:
  1647. 0000110E  4A41                     tst.w      D1
  1648. 00001110  671E                     beq        +0x20 /* 00001130 */
  1649. 00001112  3151 0054                move.w     [A0 + 0x54], [A1]
  1650. 00001116  2169 0002 0056           move.l     [A0 + 0x56], [A1 + 0x2]
  1651. 0000111C  3169 0006 005A           move.w     [A0 + 0x5A], [A1 + 0x6]
  1652. 00001122  1169 0008 005C           move.b     [A0 + 0x5C], [A1 + 0x8]
  1653. 00001128  6006                     bra        +0x8 /* 00001130 */
  1654. label0000112A:
  1655. 0000112A  303C FFD5                move.w     D0, 0xFFD5
  1656. 0000112E  6002                     bra        +0x4 /* 00001132 */
  1657. label00001130:
  1658. 00001130  4240                     clr.w      D0
  1659. label00001132:
  1660. 00001132  4CDF 1E06                movem.l    D1,D2,A1,A2,A3,A4, [A7]+
  1661. 00001136  4E75                     rts
  1662. 00001138  48E7 8078                movem.l    -[A7], D0,A1,A2,A3,A4
  1663. 0000113C  2268 0002                movea.l    A1, [A0 + 0x2]
  1664. 00001140  3029 0006                move.w     D0, [A1 + 0x6]
  1665. 00001144  4EBA FC80                jsr        [PC - 0x380 /* 00000DC6 */]
  1666. 00001148  2008                     move.l     D0, A0
  1667. 0000114A  670E                     beq        +0x10 /* 0000115A */
  1668. 0000114C  2238 0118                move.l     D1, [0x00000118 /* TheZone */]
  1669. 00001150  2050                     movea.l    A0, [A0]
  1670. 00001152  B2A8 004C                cmp.l      D1, [A0 + 0x4C]
  1671. 00001156  6600 00AA                bne        +0xAC /* 00001202 */
  1672. label0000115A:
  1673. 0000115A  4A51                     tst.w      [A1]
  1674. 0000115C  661C                     bne        +0x1E /* 0000117A */
  1675. 0000115E  2008                     move.l     D0, A0
  1676. 00001160  6700 00A0                beq        +0xA2 /* 00001202 */
  1677. 00001164  32A8 0054                move.w     [A1], [A0 + 0x54]
  1678. 00001168  2368 0056 0002           move.l     [A1 + 0x2], [A0 + 0x56]
  1679. 0000116E  3368 005A 0006           move.w     [A1 + 0x6], [A0 + 0x5A]
  1680. 00001174  1368 005C 0008           move.b     [A1 + 0x8], [A0 + 0x5C]
  1681. label0000117A:
  1682. 0000117A  4A51                     tst.w      [A1]
  1683. 0000117C  6D3A                     blt        +0x3C /* 000011B8 */
  1684. 0000117E  95CA                     sub.l      A2, A2
  1685. 00001180  2678 0A54                movea.l    A3, [0x00000A54 /* SysMapHndl */]
  1686. 00001184  2853                     movea.l    A4, [A3]
  1687. label00001186:
  1688. 00001186  266C 0010                movea.l    A3, [A4 + 0x10]
  1689. 0000118A  200B                     move.l     D0, A3
  1690. 0000118C  672A                     beq        +0x2C /* 000011B8 */
  1691. 0000118E  2853                     movea.l    A4, [A3]
  1692. 00001190  B7E9 0002                cmpa.l     A3, [A1 + 0x2]
  1693. 00001194  661E                     bne        +0x20 /* 000011B4 */
  1694. 00001196  200A                     move.l     D0, A2
  1695. 00001198  671E                     beq        +0x20 /* 000011B8 */
  1696. 0000119A  2452                     movea.l    A2, [A2]
  1697. 0000119C  256C 0010 0010           move.l     [A2 + 0x10], [A4 + 0x10]
  1698. 000011A2  2478 0A54                movea.l    A2, [0x00000A54 /* SysMapHndl */]
  1699. 000011A6  2452                     movea.l    A2, [A2]
  1700. 000011A8  296A 0010 0010           move.l     [A4 + 0x10], [A2 + 0x10]
  1701. 000011AE  254B 0010                move.l     [A2 + 0x10], A3
  1702. 000011B2  6004                     bra        +0x6 /* 000011B8 */
  1703. label000011B4:
  1704. 000011B4  244B                     movea.l    A2, A3
  1705. 000011B6  60CE                     bra        -0x30 /* 00001186 */
  1706. label000011B8:
  1707. 000011B8  4A29 0008                tst.b      [A1 + 0x8]
  1708. 000011BC  6644                     bne        +0x46 /* 00001202 */
  1709. 000011BE  2008                     move.l     D0, A0
  1710. 000011C0  6740                     beq        +0x42 /* 00001202 */
  1711. 000011C2  2678 0A54                movea.l    A3, [0x00000A54 /* SysMapHndl */]
  1712. 000011C6  244B                     movea.l    A2, A3
  1713. 000011C8  2853                     movea.l    A4, [A3]
  1714. label000011CA:
  1715. 000011CA  266C 0010                movea.l    A3, [A4 + 0x10]
  1716. 000011CE  200B                     move.l     D0, A3
  1717. 000011D0  6730                     beq        +0x32 /* 00001202 */
  1718. 000011D2  2853                     movea.l    A4, [A3]
  1719. 000011D4  B7E8 0048                cmpa.l     A3, [A0 + 0x48]
  1720. 000011D8  6624                     bne        +0x26 /* 000011FE */
  1721. 000011DA  2452                     movea.l    A2, [A2]
  1722. 000011DC  256C 0010 0010           move.l     [A2 + 0x10], [A4 + 0x10]
  1723. 000011E2  42AC 0010                clr.l      [A4 + 0x10]
  1724. 000011E6  3029 0006                move.w     D0, [A1 + 0x6]
  1725. 000011EA  B078 0A5A                cmp.w      D0, [0x00000A5A /* CurMap */]
  1726. 000011EE  6612                     bne        +0x14 /* 00001202 */
  1727. 000011F0  2678 0A50                movea.l    A3, [0x00000A50 /* TopMapHndl */]
  1728. 000011F4  2653                     movea.l    A3, [A3]
  1729. 000011F6  31EB 0014 0A5A           move.w     [0x00000A5A /* CurMap */], [A3 + 0x14]
  1730. 000011FC  6004                     bra        +0x6 /* 00001202 */
  1731. label000011FE:
  1732. 000011FE  244B                     movea.l    A2, A3
  1733. 00001200  60C8                     bra        -0x36 /* 000011CA */
  1734. label00001202:
  1735. 00001202  4CDF 1E02                movem.l    D1,A1,A2,A3,A4, [A7]+
  1736. 00001206  4E75                     rts
  1737. fn00001208:
  1738. 00001208  48E7 8080                movem.l    -[A7], D0,A0
  1739. 0000120C  E288                     lsr        D0, 1
  1740. 0000120E  5340                     subq.w     D0, 1
  1741. label00001210:
  1742. 00001210  4258                     clr.w      [A0]+
  1743. 00001212  5EC8 FFFC                dbgt       D0, -0x6 /* 00001210 */
  1744. 00001216  4CDF 0101                movem.l    D0,A0, [A7]+
  1745. 0000121A  4E75                     rts
  1746. 0000121C  4E56 FFB0                link       A6, -0x0050
  1747. 00001220  48E7 7040                movem.l    -[A7], D1,D2,D3,A1
  1748. 00001224  2248                     movea.l    A1, A0
  1749. 00001226  323C 0001                move.w     D1, 0x1
  1750. 0000122A  4242                     clr.w      D2
  1751. 0000122C  2629 0008                move.l     D3, [A1 + 0x8]
  1752. 00001230  41EE FFB0                lea.l      A0, [A6 - 0x50]
  1753. 00001234  7050                     moveq.l    D0, 0x50
  1754. 00001236  4EBA FFD0                jsr        [PC - 0x30 /* 00001208 */]
  1755. 0000123A  3169 0006 0016           move.w     [A0 + 0x16], [A1 + 0x6]
  1756. label00001240:
  1757. 00001240  2169 0002 0030           move.l     [A0 + 0x30], [A1 + 0x2]
  1758. 00001246  3141 001C                move.w     [A0 + 0x1C], D1
  1759. 0000124A  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1760. 0000124C  660C                     bne        +0xE /* 0000125A */
  1761. 0000124E  B6A8 0020                cmp.l      D3, [A0 + 0x20]
  1762. 00001252  6602                     bne        +0x4 /* 00001256 */
  1763. 00001254  5242                     addq.w     D2, 1
  1764. label00001256:
  1765. 00001256  5241                     addq.w     D1, 1
  1766. 00001258  60E6                     bra        -0x18 /* 00001240 */
  1767. label0000125A:
  1768. 0000125A  3002                     move.w     D0, D2
  1769. 0000125C  4CDF 020E                movem.l    D1,D2,D3,A1, [A7]+
  1770. 00001260  4E5E                     unlink     A6
  1771. 00001262  4E75                     rts
  1772. 00001264  4E56 FFB0                link       A6, -0x0050
  1773. 00001268  48E7 7040                movem.l    -[A7], D1,D2,D3,A1
  1774. 0000126C  2248                     movea.l    A1, A0
  1775. 0000126E  323C 0001                move.w     D1, 0x1
  1776. 00001272  4242                     clr.w      D2
  1777. 00001274  2629 000A                move.l     D3, [A1 + 0xA]
  1778. 00001278  41EE FFB0                lea.l      A0, [A6 - 0x50]
  1779. 0000127C  7050                     moveq.l    D0, 0x50
  1780. 0000127E  4EBA FF88                jsr        [PC - 0x78 /* 00001208 */]
  1781. 00001282  2169 000E 0012           move.l     [A0 + 0x12], [A1 + 0xE]
  1782. 00001288  3169 0008 0016           move.w     [A0 + 0x16], [A1 + 0x8]
  1783. label0000128E:
  1784. 0000128E  2169 0004 0030           move.l     [A0 + 0x30], [A1 + 0x4]
  1785. 00001294  3141 001C                move.w     [A0 + 0x1C], D1
  1786. 00001298  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  1787. 0000129A  6616                     bne        +0x18 /* 000012B2 */
  1788. 0000129C  B6A8 0020                cmp.l      D3, [A0 + 0x20]
  1789. 000012A0  660C                     bne        +0xE /* 000012AE */
  1790. 000012A2  5242                     addq.w     D2, 1
  1791. 000012A4  B469 0002                cmp.w      D2, [A1 + 0x2]
  1792. 000012A8  6604                     bne        +0x6 /* 000012AE */
  1793. 000012AA  4240                     clr.w      D0
  1794. 000012AC  600A                     bra        +0xC /* 000012B8 */
  1795. label000012AE:
  1796. 000012AE  5241                     addq.w     D1, 1
  1797. 000012B0  60DC                     bra        -0x22 /* 0000128E */
  1798. label000012B2:
  1799. 000012B2  2069 000E                movea.l    A0, [A1 + 0xE]
  1800. 000012B6  4210                     clr.b      [A0]
  1801. label000012B8:
  1802. 000012B8  4CDF 020E                movem.l    D1,D2,D3,A1, [A7]+
  1803. 000012BC  4E5E                     unlink     A6
  1804. 000012BE  4E75                     rts
  1805. 000012C0  4E56 FFFA                link       A6, -0x0006
  1806. 000012C4  2F0A                     move.l     -[A7], A2
  1807. 000012C6  2448                     movea.l    A2, A0
  1808. 000012C8  4267                     clr.w      -[A7]
  1809. 000012CA  486E FFFE                pea.l      [A6 - 0x2]
  1810. 000012CE  486E FFFA                pea.l      [A6 - 0x6]
  1811. 000012D2  4EBA 0396                jsr        [PC + 0x396 /* 0000166A */]
  1812. 000012D6  301F                     move.w     D0, [A7]+
  1813. 000012D8  4A40                     tst.w      D0
  1814. 000012DA  6712                     beq        +0x14 /* 000012EE */
  1815. 000012DC  4267                     clr.w      -[A7]
  1816. 000012DE  486E FFFE                pea.l      [A6 - 0x2]
  1817. 000012E2  486E FFFA                pea.l      [A6 - 0x6]
  1818. 000012E6  4EBA 0398                jsr        [PC + 0x398 /* 00001680 */]
  1819. 000012EA  301F                     move.w     D0, [A7]+
  1820. 000012EC  601A                     bra        +0x1C /* 00001308 */
  1821. label000012EE:
  1822. 000012EE  4267                     clr.w      -[A7]
  1823. 000012F0  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  1824. 000012F4  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  1825. 000012F8  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  1826. 000012FC  2F2E FFFA                move.l     -[A7], [A6 - 0x6]
  1827. 00001300  3F2A 0006                move.w     -[A7], [A2 + 0x6]
  1828. 00001304  4EBA 0390                jsr        [PC + 0x390 /* 00001696 */]
  1829. label00001308:
  1830. 00001308  245F                     movea.l    A2, [A7]+
  1831. 0000130A  4E5E                     unlink     A6
  1832. 0000130C  4E75                     rts
  1833. fn0000130E:
  1834. 0000130E  2F08                     move.l     -[A7], A0
  1835. 00001310  2078 02B6                movea.l    A0, [0x000002B6 /* ExpandMem */]
  1836. 00001314  4A68 0128                tst.w      [A0 + 0x128]
  1837. 00001318  6704                     beq        +0x6 /* 0000131E */
  1838. 0000131A  7000                     moveq.l    D0, 0x00
  1839. 0000131C  6002                     bra        +0x4 /* 00001320 */
  1840. label0000131E:
  1841. 0000131E  7001                     moveq.l    D0, 0x01
  1842. label00001320:
  1843. 00001320  205F                     movea.l    A0, [A7]+
  1844. 00001322  4E75                     rts
  1845. fn00001324:
  1846. 00001324  225F                     movea.l    A1, [A7]+
  1847. 00001326  201F                     move.l     D0, [A7]+
  1848. 00001328  A71E                     syscall    NewPtrSysClear, flags=7
  1849. 0000132A  2E88                     move.l     [A7], A0
  1850. 0000132C  4ED1                     jmp        [A1]
  1851. fn0000132E:
  1852. 0000132E  225F                     movea.l    A1, [A7]+
  1853. 00001330  201F                     move.l     D0, [A7]+
  1854. 00001332  A522                     syscall    NewHandleSys, flags=5
  1855. 00001334  2E88                     move.l     [A7], A0
  1856. 00001336  4ED1                     jmp        [A1]
  1857. fn00001338:
  1858. 00001338  225F                     movea.l    A1, [A7]+
  1859. 0000133A  205F                     movea.l    A0, [A7]+
  1860. 0000133C  A025                     syscall    GetHandleSize
  1861. 0000133E  2E80                     move.l     [A7], D0
  1862. 00001340  6A02                     bpl        +0x4 /* 00001344 */
  1863. 00001342  4297                     clr.l      [A7]
  1864. label00001344:
  1865. 00001344  4ED1                     jmp        [A1]
  1866. fn00001346:
  1867. 00001346  206F 000C                movea.l    A0, [A7 + 0xC]
  1868. 0000134A  226F 0008                movea.l    A1, [A7 + 0x8]
  1869. 0000134E  7000                     moveq.l    D0, 0x00
  1870. 00001350  1018                     move.b     D0, [A0]+
  1871. 00001352  4840                     swap.w     D0
  1872. 00001354  1019                     move.b     D0, [A1]+
  1873. 00001356  4A2F 0004                tst.b      [A7 + 0x4]
  1874. 0000135A  670E                     beq        +0x10 /* 0000136A */
  1875. 0000135C  4A2F 0006                tst.b      [A7 + 0x6]
  1876. 00001360  6704                     beq        +0x6 /* 00001366 */
  1877. 00001362  A43C                     syscall    CmpString, flags=4
  1878. 00001364  6010                     bra        +0x12 /* 00001376 */
  1879. label00001366:
  1880. 00001366  A03C                     syscall    CmpString
  1881. 00001368  600C                     bra        +0xE /* 00001376 */
  1882. label0000136A:
  1883. 0000136A  4A2F 0006                tst.b      [A7 + 0x6]
  1884. 0000136E  6704                     beq        +0x6 /* 00001374 */
  1885. 00001370  A63C                     syscall    CmpString, flags=6
  1886. 00001372  6002                     bra        +0x4 /* 00001376 */
  1887. label00001374:
  1888. 00001374  A23C                     syscall    CmpString, flags=2
  1889. label00001376:
  1890. 00001376  0A00 0001                xori.b     D0, 0x1
  1891. 0000137A  1F40 0010                move.b     [A7 + 0x10], D0
  1892. 0000137E  205F                     movea.l    A0, [A7]+
  1893. 00001380  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1894. 00001384  4ED0                     jmp        [A0]
  1895. fn00001386:
  1896. 00001386  205F                     movea.l    A0, [A7]+
  1897. 00001388  301F                     move.w     D0, [A7]+
  1898. 0000138A  4297                     clr.l      [A7]
  1899. 0000138C  4640                     not.w      D0
  1900. 0000138E  B078 01D2                cmp.w      D0, [0x000001D2 /* UnitNtryCnt */]
  1901. 00001392  640A                     bcc        +0xC /* 0000139E */
  1902. 00001394  E548                     lsl        D0.w, 2
  1903. 00001396  2278 011C                movea.l    A1, [0x0000011C /* UTableBase */]
  1904. 0000139A  2EB1 0000                move.l     [A7], [A1 + D0.w]
  1905. label0000139E:
  1906. 0000139E  4ED0                     jmp        [A0]
  1907. fn000013A0:
  1908. 000013A0  4E56 0000                link       A6, 0
  1909. 000013A4  594F                     subq.w     A7, 4
  1910. 000013A6  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  1911. 000013AC  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1912. 000013B0  A9A0                     syscall    GetResource
  1913. 000013B2  226E 000C                movea.l    A1, [A6 + 0xC]
  1914. 000013B6  4211                     clr.b      [A1]
  1915. 000013B8  201F                     move.l     D0, [A7]+
  1916. 000013BA  6722                     beq        +0x24 /* 000013DE */
  1917. 000013BC  2040                     movea.l    A0, D0
  1918. 000013BE  2050                     movea.l    A0, [A0]
  1919. 000013C0  3018                     move.w     D0, [A0]+
  1920. 000013C2  322E 0008                move.w     D1, [A6 + 0x8]
  1921. 000013C6  6716                     beq        +0x18 /* 000013DE */
  1922. 000013C8  B240                     cmp.w      D1, D0
  1923. 000013CA  6212                     bhi        +0x14 /* 000013DE */
  1924. 000013CC  7000                     moveq.l    D0, 0x00
  1925. label000013CE:
  1926. 000013CE  5341                     subq.w     D1, 1
  1927. 000013D0  6706                     beq        +0x8 /* 000013D8 */
  1928. 000013D2  1018                     move.b     D0, [A0]+
  1929. 000013D4  D1C0                     add.l      A0, D0
  1930. 000013D6  60F6                     bra        -0x8 /* 000013CE */
  1931. label000013D8:
  1932. 000013D8  1010                     move.b     D0, [A0]
  1933. 000013DA  5240                     addq.w     D0, 1
  1934. 000013DC  A02E                     syscall    BlockMove/BlockMoveData
  1935. label000013DE:
  1936. 000013DE  4E5E                     unlink     A6
  1937. 000013E0  205F                     movea.l    A0, [A7]+
  1938. 000013E2  508F                     addq.l     A7, 8
  1939. 000013E4  4ED0                     jmp        [A0]
  1940. fn000013E6:
  1941. 000013E6  4E56 0000                link       A6, 0
  1942. 000013EA  203C 0000 A89F           move.l     D0, 0xA89F
  1943. 000013F0  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1944. 000013F2  2F08                     move.l     -[A7], A0
  1945. 000013F4  203C 0000 A0AD           move.l     D0, 0xA0AD
  1946. 000013FA  A346                     syscall    GetOSTrapAddress, flags=3
  1947. 000013FC  B1DF                     cmpa.l     A0, [A7]+
  1948. 000013FE  670E                     beq        +0x10 /* 0000140E */
  1949. 00001400  202E 000C                move.l     D0, [A6 + 0xC]
  1950. 00001404  A1AD                     syscall    Gestalt, flags=1
  1951. 00001406  226E 0008                movea.l    A1, [A6 + 0x8]
  1952. 0000140A  2288                     move.l     [A1], A0
  1953. 0000140C  6026                     bra        +0x28 /* 00001434 */
  1954. label0000140E:
  1955. 0000140E  41FA 0036                lea.l      A0, [PC + 0x36 /* 00001446, value 0x76657273 'vers', cstring "vers" */]
  1956. 00001412  303C EA51                move.w     D0, 0xEA51
  1957. 00001416  222E 000C                move.l     D1, [A6 + 0xC]
  1958. label0000141A:
  1959. 0000141A  B298                     cmp.l      D1, [A0]+
  1960. 0000141C  6706                     beq        +0x8 /* 00001424 */
  1961. 0000141E  4A98                     tst.l      [A0]+
  1962. 00001420  6712                     beq        +0x14 /* 00001434 */
  1963. 00001422  60F6                     bra        -0x8 /* 0000141A */
  1964. label00001424:
  1965. 00001424  43FA 0020                lea.l      A1, [PC + 0x20 /* 00001446, value 0x76657273 'vers', cstring "vers" */]
  1966. 00001428  D3D0                     add.l      A1, [A0]
  1967. 0000142A  4ED1                     jmp        [A1]
  1968. label0000142C:
  1969. 0000142C  226E 0008                movea.l    A1, [A6 + 0x8]
  1970. 00001430  2280                     move.l     [A1], D0
  1971. 00001432  4240                     clr.w      D0
  1972. label00001434:
  1973. 00001434  3D40 0010                move.w     [A6 + 0x10], D0
  1974. 00001438  4E5E                     unlink     A6
  1975. 0000143A  205F                     movea.l    A0, [A7]+
  1976. 0000143C  508F                     addq.l     A7, 8
  1977. 0000143E  4ED0                     jmp        [A0]
  1978. label00001440:
  1979. 00001440  303C EA52                move.w     D0, 0xEA52
  1980. 00001444  60EE                     bra        -0x10 /* 00001434 */
  1981. 00001446  7665                     moveq.l    D3, 0x65
  1982. 00001448  7273                     moveq.l    D1, 0x73
  1983. 0000144A  0000 0060                ori.b      D0, 0x60 /* '`' */
  1984. 0000144E  6D61                     blt        +0x63 /* 000014B1 */
  1985. 00001450  6368                     bls        +0x6A /* 000014BA */
  1986. 00001452  0000 0064                ori.b      D0, 0x64 /* 'd' */
  1987. 00001456  7379                     moveq.l    D1, 0x79
  1988. 00001458  7376                     moveq.l    D1, 0x76
  1989. 0000145A  0000 0088                ori.b      D0, 0x88
  1990. 0000145E  7072                     moveq.l    D0, 0x72
  1991. 00001460  6F63                     ble        +0x65 /* 000014C5 */
  1992. 00001462  0000 0092                ori.b      D0, 0x92
  1993. 00001466  6670                     bne        +0x72 /* 000014D8 */
  1994. 00001468  7520                     moveq.l    D2, 0x20
  1995. 0000146A  0000 009E                ori.b      D0, 0x9E
  1996. 0000146E  7164                     moveq.l    D0, 0x64
  1997. 00001470  2020                     move.l     D0, -[A0]
  1998. 00001472  0000 00E8                ori.b      D0, 0xE8
  1999. 00001476  6B62                     bmi        +0x64 /* 000014DA */
  2000. 00001478  6420                     bcc        +0x22 /* 0000149A */
  2001. 0000147A  0000 011A                ori.b      D0, 0x1A
  2002. 0000147E  6174                     bsr        +0x76 /* 000014F4 */
  2003. 00001480  6C6B                     bge        +0x6D /* 000014ED */
  2004. 00001482  0000 0142                ori.b      D0, 0x42 /* 'B' */
  2005. 00001486  6D6D                     blt        +0x6F /* 000014F5 */
  2006. 00001488  7520                     moveq.l    D2, 0x20
  2007. 0000148A  0000 0164                ori.b      D0, 0x64 /* 'd' */
  2008. 0000148E  7261                     moveq.l    D1, 0x61
  2009. 00001490  6D20                     blt        +0x22 /* 000014B2 */
  2010. 00001492  0000 0188                ori.b      D0, 0x88
  2011. 00001496  6C72                     bge        +0x74 /* 0000150A */
  2012. 00001498  616D                     bsr        +0x6F /* 00001507 */
  2013. label0000149A:
  2014. 0000149A  0000 0188                ori.b      D0, 0x88
  2015. 0000149E  0000 0000                ori.b      D0, 0x0
  2016. 000014A2  0000 0000                ori.b      D0, 0x0
  2017. 000014A6  7001                     moveq.l    D0, 0x01
  2018. 000014A8  6082                     bra        -0x7C /* 0000142C */
  2019. 000014AA  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  2020. 000014AE  7004                     moveq.l    D0, 0x04
  2021. 000014B0  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  2022. // begin alternate branch 000014B2-000014BA
  2023. label000014B2:
  2024. 000014B2  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  2025. // end alternate branch 000014B2-000014BA
  2026. label000014B2: // (misaligned)
  2027. 000014B6  6712                     beq        +0x14 /* 000014CA */
  2028. 000014B8  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  2029. // begin alternate branch 000014BA-000014C0
  2030. label000014BA:
  2031. 000014BA  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  2032. // end alternate branch 000014BA-000014C0
  2033. label000014BA: // (misaligned)
  2034. 000014BE  6604                     bne        +0x6 /* 000014C4 */
  2035. 000014C0  5240                     addq.w     D0, 1
  2036. 000014C2  6006                     bra        +0x8 /* 000014CA */
  2037. label000014C4:
  2038. 000014C4  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  2039. 000014C8  5C80                     addq.l     D0, 6
  2040. label000014CA:
  2041. 000014CA  6000 FF60                bra        -0x9E /* 0000142C */
  2042. 000014CE  7000                     moveq.l    D0, 0x00
  2043. 000014D0  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  2044. 000014D4  6000 FF56                bra        -0xA8 /* 0000142C */
  2045. label000014D8:
  2046. 000014D8  7000                     moveq.l    D0, 0x00
  2047. label000014DA:
  2048. 000014DA  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  2049. 000014DE  5240                     addq.w     D0, 1
  2050. 000014E0  6000 FF4A                bra        -0xB4 /* 0000142C */
  2051. 000014E4  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  2052. 000014EA  6738                     beq        +0x3A /* 00001524 */
  2053. 000014EC  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  2054. 000014F2  6734                     beq        +0x36 /* 00001528 */
  2055. fn000014F4:
  2056. 000014F4  204F                     movea.l    A0, A7
  2057. 000014F6  F280 0000                fnop
  2058. 000014FA  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  2059. 000014FC  3017                     move.w     D0, [A7]
  2060. 000014FE  2E48                     movea.l    A7, A0
  2061. 00001500  0C40 1F18                cmpi.w     D0, 0x1F18
  2062. 00001504  6716                     beq        +0x18 /* 0000151C */
  2063. 00001506  0C40 3F18                cmpi.w     D0, 0x3F18
  2064. label0000150A:
  2065. 0000150A  6710                     beq        +0x12 /* 0000151C */
  2066. 0000150C  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  2067. 00001510  670E                     beq        +0x10 /* 00001520 */
  2068. 00001512  0C40 1F38                cmpi.w     D0, 0x1F38
  2069. 00001516  6708                     beq        +0xA /* 00001520 */
  2070. 00001518  7000                     moveq.l    D0, 0x00
  2071. 0000151A  600E                     bra        +0x10 /* 0000152A */
  2072. label0000151C:
  2073. 0000151C  7001                     moveq.l    D0, 0x01
  2074. 0000151E  600A                     bra        +0xC /* 0000152A */
  2075. label00001520:
  2076. 00001520  7002                     moveq.l    D0, 0x02
  2077. 00001522  6006                     bra        +0x8 /* 0000152A */
  2078. label00001524:
  2079. 00001524  7003                     moveq.l    D0, 0x03
  2080. 00001526  6002                     bra        +0x4 /* 0000152A */
  2081. label00001528:
  2082. 00001528  7000                     moveq.l    D0, 0x00
  2083. label0000152A:
  2084. 0000152A  6000 FF00                bra        -0xFE /* 0000142C */
  2085. 0000152E  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  2086. 00001534  6E1C                     bgt        +0x1E /* 00001552 */
  2087. 00001536  303C A89F                move.w     D0, 0xA89F
  2088. 0000153A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2089. 0000153C  2408                     move.l     D2, A0
  2090. 0000153E  203C 0000 AB03           move.l     D0, 0xAB03
  2091. 00001544  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2092. 00001546  203C 0000 0100           move.l     D0, 0x100
  2093. 0000154C  B488                     cmp.l      D2, A0
  2094. 0000154E  6606                     bne        +0x8 /* 00001556 */
  2095. 00001550  600A                     bra        +0xC /* 0000155C */
  2096. label00001552:
  2097. 00001552  7000                     moveq.l    D0, 0x00
  2098. 00001554  6006                     bra        +0x8 /* 0000155C */
  2099. label00001556:
  2100. 00001556  203C 0000 0200           move.l     D0, 0x200
  2101. label0000155C:
  2102. 0000155C  6000 FECE                bra        -0x130 /* 0000142C */
  2103. 00001560  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  2104. 00001564  41FA 0016                lea.l      A0, [PC + 0x16 /* 0000157C, value 0x3130B02 */]
  2105. 00001568  2248                     movea.l    A1, A0
  2106. label0000156A:
  2107. 0000156A  1218                     move.b     D1, [A0]+
  2108. 0000156C  6700 FED2                beq        -0x12C /* 00001440 */
  2109. 00001570  B200                     cmp.b      D1, D0
  2110. 00001572  66F6                     bne        -0x8 /* 0000156A */
  2111. 00001574  91C9                     sub.l      A0, A1
  2112. 00001576  2008                     move.l     D0, A0
  2113. 00001578  6000 FEB2                bra        -0x14C /* 0000142C */
  2114. 0000157C  0313                     btst       [A3], D1
  2115. 0000157E  0B02                     btst       D2, D5
  2116. 00001580  0106                     btst       D6, D0
  2117. 00001582  0704                     btst       D4, D3
  2118. 00001584  0508                     btst       A0, D2
  2119. 00001586  0900                     btst       D0, D4
  2120. 00001588  7000                     moveq.l    D0, 0x00
  2121. 0000158A  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  2122. 0000158E  6B16                     bmi        +0x18 /* 000015A6 */
  2123. 00001590  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  2124. 00001594  0201 000F                andi.b     D1, 0xF
  2125. 00001598  0C01 0001                cmpi.b     D1, 0x1
  2126. 0000159C  6608                     bne        +0xA /* 000015A6 */
  2127. 0000159E  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  2128. 000015A2  1028 0007                move.b     D0, [A0 + 0x7]
  2129. label000015A6:
  2130. 000015A6  6000 FE84                bra        -0x17A /* 0000142C */
  2131. 000015AA  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  2132. 000015B0  6D16                     blt        +0x18 /* 000015C8 */
  2133. 000015B2  7000                     moveq.l    D0, 0x00
  2134. 000015B4  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  2135. 000015B8  0C00 0001                cmpi.b     D0, 0x1
  2136. 000015BC  670C                     beq        +0xE /* 000015CA */
  2137. 000015BE  0C00 0003                cmpi.b     D0, 0x3
  2138. 000015C2  6D04                     blt        +0x6 /* 000015C8 */
  2139. 000015C4  5340                     subq.w     D0, 1
  2140. 000015C6  6002                     bra        +0x4 /* 000015CA */
  2141. label000015C8:
  2142. 000015C8  7000                     moveq.l    D0, 0x00
  2143. label000015CA:
  2144. 000015CA  6000 FE60                bra        -0x19E /* 0000142C */
  2145. 000015CE  303C A89F                move.w     D0, 0xA89F
  2146. 000015D2  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2147. 000015D4  2408                     move.l     D2, A0
  2148. 000015D6  203C 0000 A88F           move.l     D0, 0xA88F
  2149. 000015DC  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  2150. 000015DE  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  2151. 000015E2  B488                     cmp.l      D2, A0
  2152. 000015E4  670A                     beq        +0xC /* 000015F0 */
  2153. 000015E6  598F                     subq.l     A7, 4
  2154. 000015E8  3F3C 0016                move.w     -[A7], 0x16
  2155. 000015EC  A88F                     syscall    OSDispatch
  2156. 000015EE  201F                     move.l     D0, [A7]+
  2157. label000015F0:
  2158. 000015F0  6000 FE3A                bra        -0x1C4 /* 0000142C */
  2159. fn000015F4:
  2160. 000015F4  201F                     move.l     D0, [A7]+
  2161. 000015F6  3F3C 0503                move.w     -[A7], 0x503
  2162. 000015FA  204F                     movea.l    A0, A7
  2163. 000015FC  2F00                     move.l     -[A7], D0
  2164. 000015FE  A08B                     syscall    CommToolboxDispatch
  2165. 00001600  205F                     movea.l    A0, [A7]+
  2166. 00001602  5C4F                     addq.w     A7, 6
  2167. 00001604  4ED0                     jmp        [A0]
  2168. fn00001606:
  2169. 00001606  201F                     move.l     D0, [A7]+
  2170. 00001608  3F3C 0504                move.w     -[A7], 0x504
  2171. 0000160C  204F                     movea.l    A0, A7
  2172. 0000160E  2F00                     move.l     -[A7], D0
  2173. 00001610  A08B                     syscall    CommToolboxDispatch
  2174. 00001612  205F                     movea.l    A0, [A7]+
  2175. 00001614  5C4F                     addq.w     A7, 6
  2176. 00001616  3E80                     move.w     [A7], D0
  2177. 00001618  4ED0                     jmp        [A0]
  2178. fn0000161A:
  2179. 0000161A  201F                     move.l     D0, [A7]+
  2180. 0000161C  3F3C 0505                move.w     -[A7], 0x505
  2181. 00001620  204F                     movea.l    A0, A7
  2182. 00001622  2F00                     move.l     -[A7], D0
  2183. 00001624  A08B                     syscall    CommToolboxDispatch
  2184. 00001626  205F                     movea.l    A0, [A7]+
  2185. 00001628  5C4F                     addq.w     A7, 6
  2186. 0000162A  2E80                     move.l     [A7], D0
  2187. 0000162C  4ED0                     jmp        [A0]
  2188. fn0000162E:
  2189. 0000162E  201F                     move.l     D0, [A7]+
  2190. 00001630  3F3C 0508                move.w     -[A7], 0x508
  2191. 00001634  204F                     movea.l    A0, A7
  2192. 00001636  2F00                     move.l     -[A7], D0
  2193. 00001638  A08B                     syscall    CommToolboxDispatch
  2194. 0000163A  205F                     movea.l    A0, [A7]+
  2195. 0000163C  504F                     addq.w     A7, 8
  2196. 0000163E  2E80                     move.l     [A7], D0
  2197. 00001640  4ED0                     jmp        [A0]
  2198. fn00001642:
  2199. 00001642  201F                     move.l     D0, [A7]+
  2200. 00001644  3F3C 050C                move.w     -[A7], 0x50C
  2201. 00001648  204F                     movea.l    A0, A7
  2202. 0000164A  2F00                     move.l     -[A7], D0
  2203. 0000164C  A08B                     syscall    CommToolboxDispatch
  2204. 0000164E  205F                     movea.l    A0, [A7]+
  2205. 00001650  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2206. 00001654  2E80                     move.l     [A7], D0
  2207. 00001656  4ED0                     jmp        [A0]
  2208. fn00001658:
  2209. 00001658  201F                     move.l     D0, [A7]+
  2210. 0000165A  3F3C 050D                move.w     -[A7], 0x50D
  2211. 0000165E  204F                     movea.l    A0, A7
  2212. 00001660  2F00                     move.l     -[A7], D0
  2213. 00001662  A08B                     syscall    CommToolboxDispatch
  2214. 00001664  205F                     movea.l    A0, [A7]+
  2215. 00001666  5C4F                     addq.w     A7, 6
  2216. 00001668  4ED0                     jmp        [A0]
  2217. fn0000166A:
  2218. 0000166A  201F                     move.l     D0, [A7]+
  2219. 0000166C  3F3C 051A                move.w     -[A7], 0x51A
  2220. 00001670  204F                     movea.l    A0, A7
  2221. 00001672  2F00                     move.l     -[A7], D0
  2222. 00001674  A08B                     syscall    CommToolboxDispatch
  2223. 00001676  205F                     movea.l    A0, [A7]+
  2224. 00001678  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2225. 0000167C  3E80                     move.w     [A7], D0
  2226. 0000167E  4ED0                     jmp        [A0]
  2227. fn00001680:
  2228. 00001680  201F                     move.l     D0, [A7]+
  2229. 00001682  3F3C 0519                move.w     -[A7], 0x519
  2230. 00001686  204F                     movea.l    A0, A7
  2231. 00001688  2F00                     move.l     -[A7], D0
  2232. 0000168A  A08B                     syscall    CommToolboxDispatch
  2233. 0000168C  205F                     movea.l    A0, [A7]+
  2234. 0000168E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2235. 00001692  3E80                     move.w     [A7], D0
  2236. 00001694  4ED0                     jmp        [A0]
  2237. fn00001696:
  2238. 00001696  201F                     move.l     D0, [A7]+
  2239. 00001698  3F3C 051C                move.w     -[A7], 0x51C
  2240. 0000169C  204F                     movea.l    A0, A7
  2241. 0000169E  2F00                     move.l     -[A7], D0
  2242. 000016A0  A08B                     syscall    CommToolboxDispatch
  2243. 000016A2  205F                     movea.l    A0, [A7]+
  2244. 000016A4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2245. 000016A8  3E80                     move.w     [A7], D0
  2246. 000016AA  4ED0                     jmp        [A0]
  2247. fn000016AC:
  2248. 000016AC  201F                     move.l     D0, [A7]+
  2249. 000016AE  3F3C 051F                move.w     -[A7], 0x51F
  2250. 000016B2  204F                     movea.l    A0, A7
  2251. 000016B4  2F00                     move.l     -[A7], D0
  2252. 000016B6  A08B                     syscall    CommToolboxDispatch
  2253. 000016B8  205F                     movea.l    A0, [A7]+
  2254. 000016BA  504F                     addq.w     A7, 8
  2255. 000016BC  4ED0                     jmp        [A0]
  2256. fn000016BE:
  2257. 000016BE  201F                     move.l     D0, [A7]+
  2258. 000016C0  3F3C 0520                move.w     -[A7], 0x520
  2259. 000016C4  204F                     movea.l    A0, A7
  2260. 000016C6  2F00                     move.l     -[A7], D0
  2261. 000016C8  A08B                     syscall    CommToolboxDispatch
  2262. 000016CA  205F                     movea.l    A0, [A7]+
  2263. 000016CC  5C4F                     addq.w     A7, 6
  2264. 000016CE  4ED0                     jmp        [A0]
  2265.